summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2011-02-18 17:14:04 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2011-02-18 17:14:04 -0800
commitae9ac6398ef3ddabb7b46de3c2ed1e6d7c233f17 (patch)
tree68b4f0a6049ff339a8f1f3518d95d9d735e53cc7
parente1b62ee0218934f1f9ad08361e00622d6e41cbb5 (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.ac14
1 files changed, 8 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac
index c1e20fb..bcbc530 100644
--- a/configure.ac
+++ b/configure.ac
@@ -21,8 +21,15 @@ dnl PERFORMANCE OF THIS SOFTWARE.
dnl
dnl Process this file with autoconf to create configure.
+# Initialize Autoconf
AC_PREREQ([2.60])
-AC_INIT(lbxproxy,[1.0.2], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],lbxproxy)
+AC_INIT([lbxproxy], [1.0.2],
+ [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], [lbxproxy])
+AC_CONFIG_SRCDIR([Makefile.am])
+AC_CONFIG_HEADERS([config.h])
+AC_CANONICAL_HOST
+
+# Initialize Automake
AM_INIT_AUTOMAKE([dist-bzip2])
AM_MAINTAINER_MODE
@@ -30,11 +37,6 @@ AM_MAINTAINER_MODE
m4_ifndef([XORG_MACROS_VERSION],
[m4_fatal([must install xorg-macros 1.8 or later before running autoconf/autogen])])
XORG_MACROS_VERSION(1.8)
-
-AM_CONFIG_HEADER(config.h)
-
-AC_CANONICAL_HOST
-
XORG_DEFAULT_OPTIONS
case $host_os in