summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2011-01-05 17:03:30 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2011-01-05 17:03:30 -0800
commitc6cb1b17600e2c2937751a712c7eadd411eb6da9 (patch)
treea1674fd67dc0cfb687df4ee0d07c077cf83065fe
parent5d321bc363ce5ef67a1297e24ed184a28eed4e9d (diff)
config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS
Regroup AC statements under the Autoconf initialization section. Regroup AM statements under the Automake initialization section. Add missing AC_CONFIG_SRCDIR Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--configure.ac9
1 files changed, 7 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index b984f03..2748ef7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -21,11 +21,16 @@ dnl PERFORMANCE OF THIS SOFTWARE.
dnl
dnl Process this file with autoconf to create configure.
+# Initialize Autoconf
AC_PREREQ([2.60])
-AC_INIT(xkbprint, [1.0.2], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],xkbprint)
+AC_INIT([xkbprint], [1.0.2],
+ [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], [xkbprint])
+AC_CONFIG_SRCDIR([Makefile.am])
+AC_CONFIG_HEADERS([config.h])
+
+# Initialize Automake
AM_INIT_AUTOMAKE([foreign dist-bzip2])
AM_MAINTAINER_MODE
-AM_CONFIG_HEADER(config.h)
# Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
m4_ifndef([XORG_MACROS_VERSION],