summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorinfirit <[email protected]>2015-09-13 12:47:56 +0200
committerinfirit <[email protected]>2015-09-13 12:50:01 +0200
commita0a8711ade20e3632f1e28f9d433fb28012f752f (patch)
tree7543817ab88910ce3b60d98206c0a1e33b1ad22d /configure.ac
parent783335ab0e8c9f31fa9e5f1ce9301d63bc036e0b (diff)
downloadmate-polkit-a0a8711ade20e3632f1e28f9d433fb28012f752f.tar.bz2
mate-polkit-a0a8711ade20e3632f1e28f9d433fb28012f752f.tar.xz
Cleanup configure.ac
Enable maintainermode Use new libtools init syntax Remove examples option (no more examples)
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac13
1 files changed, 5 insertions, 8 deletions
diff --git a/configure.ac b/configure.ac
index 6553cb9..2672680 100644
--- a/configure.ac
+++ b/configure.ac
@@ -6,7 +6,7 @@ AC_CONFIG_SRCDIR([src])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_MACRO_DIR([m4])
-AM_MAINTAINER_MODE
+AM_MAINTAINER_MODE([enable])
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
@@ -23,7 +23,10 @@ AC_SUBST(LT_AGE)
AC_PROG_CC
AC_HEADER_STDC
-AC_PROG_LIBTOOL
+
+# Initialize libtool
+LT_PREREQ([2.2.6])
+LT_INIT
GTK_DOC_CHECK([1.3])
@@ -111,10 +114,8 @@ fi
# MATE
# *****
-MATE_COMMON_INIT
MATE_DEBUG_CHECK
MATE_COMPILE_WARNINGS([maximum])
-MATE_MAINTAINER_MODE_DEFINES
# ***************************
# Check for required packages
@@ -164,11 +165,7 @@ AC_ARG_ENABLE([accountsservice],
AM_CONDITIONAL([HAVE_ACCOUNTSSERVICE], [test "x$enable_accountsservice" = xyes])
-AC_ARG_ENABLE([examples],
- AC_HELP_STRING([--enable-examples], [Build the example programs]),,
- [enable_examples=yes])
-AM_CONDITIONAL(BUILD_EXAMPLES, test "x$enable_examples" = "xyes")
# GObject introspection
#