summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2011-05-07 23:37:46 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2011-05-07 23:37:46 -0700
commit847f506047b3e7b9390f50d3b12f041cdfd1b2a3 (patch)
treebf658ddf776ed9a68bc39c4aa154d557cc99ec5a
parente20d41e86c18cac3dfc61bd1d61a52694a40b7de (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 abae8db..9f8bd27 100644
--- a/configure.ac
+++ b/configure.ac
@@ -21,13 +21,17 @@ dnl PERFORMANCE OF THIS SOFTWARE.
dnl
dnl Process this file with autoconf to create configure.
+# Initialize Autoconf
AC_PREREQ([2.60])
-AC_INIT([lndir],
- [1.0.2],
- [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg])
+AC_INIT([lndir], [1.0.2],
+ [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], [lndir])
+AC_CONFIG_SRCDIR([Makefile.am])
+AC_CONFIG_HEADERS([config.h])
+AC_USE_SYSTEM_EXTENSIONS
+
+# Initialize Automake
AM_INIT_AUTOMAKE([foreign dist-bzip2])
AM_MAINTAINER_MODE
-AC_USE_SYSTEM_EXTENSIONS
# Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
m4_ifndef([XORG_MACROS_VERSION],
@@ -35,8 +39,6 @@ m4_ifndef([XORG_MACROS_VERSION],
XORG_MACROS_VERSION(1.8)
XORG_DEFAULT_OPTIONS
-AM_CONFIG_HEADER(config.h)
-
# Avoid stat() failures if a file has a size that doesn't fit in 32-bits
AC_SYS_LARGEFILE