summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2013-01-13 13:00:10 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-01-13 13:00:10 -0800
commit971cd6f5721eccb166772a700e4561f2fc74eb09 (patch)
treeaa3fa379d6a047ca971fcbd7b88da7dd1d8dd380
parentf1797764df83b3677aacc4819f30a467c1d7487a (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 fda73a8..1cff436 100644
--- a/configure.ac
+++ b/configure.ac
@@ -21,8 +21,13 @@ dnl PERFORMANCE OF THIS SOFTWARE.
dnl
dnl Process this file with autoconf to create configure.
+# Initialize Autoconf
AC_PREREQ([2.60])
AC_INIT(xvidtune, [1.0.2], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], xvidtune)
+AC_CONFIG_SRCDIR([Makefile.am])
+AC_CONFIG_HEADERS([config.h])
+
+# Initialize Automake
AM_INIT_AUTOMAKE([foreign dist-bzip2])
AM_MAINTAINER_MODE
@@ -31,8 +36,6 @@ m4_ifndef([XORG_MACROS_VERSION],
[m4_fatal([must install xorg-macros 1.8 or later before running autoconf/autogen])])
XORG_MACROS_VERSION(1.8)
XORG_DEFAULT_OPTIONS
-AC_CONFIG_HEADERS([config.h])
-
# Checks for pkg-config packages
PKG_CHECK_MODULES(XVIDTUNE, xxf86vm xt xaw7 xmu x11)