summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2013-01-19 09:21:50 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-01-19 09:21:50 -0800
commit703edaa26044cfa0a607fa7b93396095fdfdfbaa (patch)
tree560ad907e8d06fd81eee6c7b4d12ba8d8bc4ef87
parentc256f5a1e82ed874d8bd068901dd9b138adb6f89 (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 6142764..1d337bb 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([editres], [1.0.6],
[https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], [editres])
+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])
-
# Obtain compiler/linker options from depedencies
PKG_CHECK_MODULES(EDITRES, xaw7 x11 xt xmu)