configure.ac 1.1 KB
Newer Older
1
AC_INIT([polari],[3.12.0],[https://bugzilla.gnome.org/enter_bug.cgi?product=polari],[polari])
Florian Müllner's avatar
Florian Müllner committed
2

3
AC_CONFIG_MACRO_DIR([m4])
4
AC_CONFIG_AUX_DIR([build-aux])
5

Florian Müllner's avatar
Florian Müllner committed
6 7 8 9 10 11 12
m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])

AM_INIT_AUTOMAKE([1.11 dist-xz no-dist-gzip tar-ustar foreign])
AM_MAINTAINER_MODE([enable])

GETTEXT_PACKAGE=AC_PACKAGE_NAME
AC_SUBST(GETTEXT_PACKAGE)
13
IT_PROG_INTLTOOL([0.50.0])
Florian Müllner's avatar
Florian Müllner committed
14 15 16

GOBJECT_INTROSPECTION_REQUIRE([0.9.6])

17 18 19
# Initialize libtool
LT_PREREQ([2.2])
LT_INIT([disable-static])
Florian Müllner's avatar
Florian Müllner committed
20 21 22 23

GLIB_GSETTINGS

PKG_CHECK_MODULES(POLARI,
24
                  gio-2.0 >= 2.39.0
Florian Müllner's avatar
Florian Müllner committed
25
                  gobject-introspection-1.0
26
                  gtk+-3.0 >= 3.11.5
Florian Müllner's avatar
Florian Müllner committed
27 28
                  telepathy-glib);

29 30 31 32 33
AC_PATH_PROG([GJS_CONSOLE],[gjs-console],[no])

if test "$GJS_CONSOLE" = "no"; then
  AC_MSG_ERROR([gjs is required to build Polari])
fi
Florian Müllner's avatar
Florian Müllner committed
34 35 36 37 38 39 40 41 42

GLIB_COMPILE_RESOURCES=`$PKG_CONFIG --variable=glib_compile_resources gio-2.0`
AC_SUBST(GLIB_COMPILE_RESOURCES)

AC_PATH_PROG(DESKTOP_FILE_VALIDATE, desktop-file-validate)

AC_CONFIG_FILES([
Makefile
data/Makefile
43
data/appdata/Makefile
44
data/icons/Makefile
Florian Müllner's avatar
Florian Müllner committed
45 46 47 48 49
po/Makefile.in
src/Makefile
])

AC_OUTPUT