summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2013-01-12 19:13:28 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-01-12 19:13:28 -0800
commit0ba7294e8e5ca61b03ef7c76da7d381e93eaf937 (patch)
tree635ff102d3f1ef56c0b1dfb17e2bf45782053618
parent50a779c50b1303baa6bcea91d00da176a77431f5 (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.ac10
1 files changed, 6 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index 9a1badd..8570559 100644
--- a/configure.ac
+++ b/configure.ac
@@ -21,11 +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([xkbutils], [1.0.3],
[https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], [xkbutils])
+AC_CONFIG_SRCDIR([Makefile.am])
+AC_CONFIG_HEADERS([config.h])
+
+# Initialize Automake
AM_INIT_AUTOMAKE([foreign dist-bzip2])
AM_MAINTAINER_MODE
+AM_PROG_CC_C_O
# Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
m4_ifndef([XORG_MACROS_VERSION],
@@ -33,10 +39,6 @@ m4_ifndef([XORG_MACROS_VERSION],
XORG_MACROS_VERSION(1.8)
XORG_DEFAULT_OPTIONS
-AC_CONFIG_HEADERS([config.h])
-
-AM_PROG_CC_C_O
-
# xkbvleds checks
PKG_CHECK_MODULES(XKBVLEDS, xproto xaw7 xt x11)