summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2013-01-19 09:00:33 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-01-19 09:03:29 -0800
commite8234eaf135baafb9d363d13186ea692c160c2ce (patch)
treedd6e655dcfa28782387c89f7fb89b9ea1f7e4a8c
parent31635167832cd6b0c52936ddbfdc82ed19d00030 (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.ac11
1 files changed, 8 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 54c93df..c80d9d9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -21,13 +21,19 @@ dnl PERFORMANCE OF THIS SOFTWARE.
dnl
dnl Process this file with autoconf to create configure.
+# Initialize Autoconf
AC_PREREQ([2.60])
+AC_INIT(lbxutil, 1.1.0,
+ [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], liblbxutil)
+AC_CONFIG_SRCDIR([Makefile.am])
+AC_CONFIG_HEADERS([config.h])
-AC_INIT(lbxutil, 1.1.0, [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], liblbxutil)
+# Initialize Automake
AM_INIT_AUTOMAKE([dist-bzip2])
AM_MAINTAINER_MODE
-AM_CONFIG_HEADER(config.h)
+# Initialize libtool
+AC_PROG_LIBTOOL
# Require xorg-macros 1.3 or later: XORG_DEFAULT_OPTIONS
m4_ifndef([XORG_MACROS_VERSION],
@@ -36,7 +42,6 @@ XORG_MACROS_VERSION(1.3)
# Check for progs
AC_PROG_CC
-AC_PROG_LIBTOOL
XORG_DEFAULT_OPTIONS
# Check for X