summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStef Walter <stefw@collabora.co.uk>2011-06-06 20:05:35 +0000
committerStef Walter <stefw@collabora.co.uk>2011-06-07 11:30:09 +0000
commitedf0b9584f1038797758b4ed878e1d9f48beda9f (patch)
tree3797543676b63dedd57d9f395925115cb998bb0c
parent0bd6cf376133f300edff57835eb95f7577d68792 (diff)
Modernize autotools setup.
-rw-r--r--.gitignore1
-rw-r--r--configure.ac13
2 files changed, 7 insertions, 7 deletions
diff --git a/.gitignore b/.gitignore
index c0e8007..a844dce 100644
--- a/.gitignore
+++ b/.gitignore
@@ -62,6 +62,7 @@ temp.txt
/po/POTFILES
/po/stamp-po
/po/remove-potcdate.sed
+/po/Makevars.template
/tests/coverage
/tests/coverage.info
diff --git a/configure.ac b/configure.ac
index 709df65..44ec55b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,17 +1,18 @@
AC_PREREQ(2.65)
AC_CONFIG_MACRO_DIR([m4])
-AC_INIT([p11-kit],[0.1],[http://bugzilla.example.com])
+AC_INIT([p11-kit],[0.1],[https://bugs.freedesktop.org/enter_bug.cgi?product=p11-glue],[p11-kit],[http://p11-glue.freedesktop.org/p11-kit.html])
AC_CONFIG_SRCDIR([p11-kit/modules.c])
AC_CONFIG_HEADERS([config.h])
dnl Other initialization
-AM_INIT_AUTOMAKE
+AM_INIT_AUTOMAKE([1.11])
AM_SANITY_CHECK
-AM_MAINTAINER_MODE
+AM_MAINTAINER_MODE([enable])
m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])],)
-LT_INIT
+LT_PREREQ([2.2.6])
+LT_INIT([dlopen disable-static])
LINGUAS=""
AM_GNU_GETTEXT([external], [need-ngettext])
@@ -124,8 +125,7 @@ AC_SUBST(GENHTML)
# Debug mode
AC_ARG_ENABLE(debug,
- AC_HELP_STRING([--enable-debug=no/yes/full],
- [Turn on or off debugging]))
+ AS_HELP_STRING([--enable-debug=no/yes/full],[Turn on or off debugging]))
if test "$enable_debug" != "no"; then
AC_DEFINE_UNQUOTED(WITH_DEBUG, 1, [Print debug output])
@@ -156,4 +156,3 @@ AC_CONFIG_FILES([Makefile
tools/Makefile
])
AC_OUTPUT
-