summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2011-01-05 16:54:12 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2011-01-05 16:54:12 -0800
commit95c38515afec3a1c1b09395f5a9207ea411fb459 (patch)
tree739adba57070feaf77de164bbba5ad4fcd9e365e
parent3b3f0dc27ee6b8a1c39bb14f3c0a317c8e5d45b5 (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.ac13
1 files changed, 8 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac
index df69c2c..04bc5b5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -21,10 +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(xfindproxy, [1.0.1],
- [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],
- xfindproxy)
+AC_INIT([xfindproxy], [1.0.1],
+ [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],
+ [xfindproxy])
+AC_CONFIG_SRCDIR([Makefile.am])
+AC_CONFIG_HEADERS([config.h])
+
+# Initialize Automake
AM_INIT_AUTOMAKE([dist-bzip2])
AM_MAINTAINER_MODE
@@ -34,8 +39,6 @@ m4_ifndef([XORG_MACROS_VERSION],
XORG_MACROS_VERSION(1.8)
XORG_DEFAULT_OPTIONS
-AM_CONFIG_HEADER(config.h)
-
# Checks for pkg-config packages
PKG_CHECK_MODULES(XFINDPROXY, x11 ice xt xproxymngproto)