summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2013-01-14 21:19:47 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-01-14 21:19:47 -0800
commit4cf3c0b07014e540a3508b570c6fc5556d4e2a3a (patch)
tree83f23cedaa10c06ea2ab089a5670e8d77cd6a0d2 /configure.ac
parent3c9e50cb0bf42f42f0be460e89045257c7efc480 (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>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac7
1 files changed, 5 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 269f9eb..735ae04 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([beforelight], [1.0.4],
[https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],
[beforelight])
+AC_CONFIG_SRCDIR([Makefile.am])
+AC_CONFIG_HEADERS([config.h])
+
+# Initialize Automake
AM_INIT_AUTOMAKE([foreign dist-bzip2])
AM_MAINTAINER_MODE
@@ -34,8 +39,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(BEFORELIGHT, x11 xscrnsaver xt)