summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2014-06-01 23:38:40 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2014-06-01 23:41:30 -0700
commit727503cc004342ee0b34126c5844da381bc0b622 (patch)
tree666e49162680ad30e5bf746d088bffb011d2f5c8
parent0c5f08dee87e0453e3263f8aa5ca545a0a03353e (diff)
config: Add missing AC_CONFIG_SRCDIR
Regroup AC statements under the Autoconf initialization section. Regroup AM statements under the Automake initialization section. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--configure.ac7
1 files changed, 5 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index f7db44c..cd7fa7d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -21,9 +21,14 @@ dnl PERFORMANCE OF THIS SOFTWARE.
dnl
dnl Process this file with autoconf to create configure.
+# Initialize Autoconf
AC_PREREQ([2.60])
AC_INIT([ico], [1.0.4],
[https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], [ico])
+AC_CONFIG_SRCDIR([Makefile.am])
+AC_CONFIG_HEADERS([config.h])
+
+# Initialize Automake
AM_INIT_AUTOMAKE([foreign dist-bzip2])
AM_MAINTAINER_MODE
@@ -33,8 +38,6 @@ m4_ifndef([XORG_MACROS_VERSION],
XORG_MACROS_VERSION(1.8)
XORG_DEFAULT_OPTIONS
-AC_CONFIG_HEADERS([config.h])
-
# Checks for pkg-config packages
PKG_CHECK_MODULES(ICO, [x11 >= 0.99.1 xproto >= 7.0.22])