summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2013-08-11 18:45:13 +0200
committerStefano Karapetsas <[email protected]>2013-08-11 18:45:13 +0200
commit46e783575b85a3717612e9cd3bd72147b26d8cf4 (patch)
tree541783fa4892b51589ec19e32b8d700e1b7cdeca
parent4241769ca3156c8e42a5f9929f7769aa40a18cac (diff)
downloadmate-polkit-46e783575b85a3717612e9cd3bd72147b26d8cf4.tar.bz2
mate-polkit-46e783575b85a3717612e9cd3bd72147b26d8cf4.tar.xz
Improve configure file
-rw-r--r--configure.ac11
1 files changed, 5 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac
index 2fad435..b877019 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,6 +1,6 @@
AC_INIT([polkit-mate],[1.6.0],[http://www.mate-desktop.org/],[polkit-mate])
-AM_INIT_AUTOMAKE([1.9 foreign dist-bzip2 no-dist-gzip])
+AM_INIT_AUTOMAKE([1.9 foreign dist-xz no-dist-gzip])
AC_CONFIG_SRCDIR([src])
AC_CONFIG_HEADERS([config.h])
@@ -140,14 +140,12 @@ case "$with_gtk" in
esac
PKG_CHECK_MODULES(GTK, gtk+-$GTK_API_VERSION >= $GTK_REQUIRED)
-
+AC_SUBST(GTK_CFLAGS)
+AC_SUBST(GTK_LIBS)
POLKIT_AGENT_REQUIRED=0.97
POLKIT_GOBJECT_REQUIRED=0.97
-AC_SUBST(GTK_CFLAGS)
-AC_SUBST(GTK_LIBS)
-
PKG_CHECK_MODULES(POLKIT_AGENT, polkit-agent-1 >= $POLKIT_AGENT_REQUIRED)
AC_SUBST(POLKIT_AGENT_CFLAGS)
AC_SUBST(POLKIT_AGENT_LIBS)
@@ -229,8 +227,9 @@ echo "
compiler: ${CC}
cflags: ${CFLAGS}
cppflags: ${CPPFLAGS}
- introspection: ${enable_introspection}
+ Gtk+ version: ${GTK_API_VERSION}
Maintainer mode: ${USE_MAINTAINER_MODE}
Building api docs: ${enable_gtk_doc}
+ GObject Introspection: ${enable_introspection}
"