diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-04-06 09:40:53 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-04-06 09:58:37 -0700 |
commit | cc2a24b51637e8f21c9c0aed73394db67a965b62 (patch) | |
tree | df28ada42b24103c6ea4584aed1c21eee7e26568 | |
parent | 059c60e7a6ae7f6cdcf51b06ac733bb2392c2ec2 (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.ac | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index d7eab36..a811f5e 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([xbacklight], [1.2.0], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], [xbacklight]) +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(XRANDR, [xcb-randr >= 1.2 xcb-atom xcb-aux xcb]) |