diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-01-19 10:22:53 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-01-19 10:22:53 -0800 |
commit | 7647908311913d5c746a959712fc965dde7d6144 (patch) | |
tree | 2f6add25e0c18d9a487ac089637f0673465d9d80 | |
parent | e97d463031ec8026fc4cfa47e049714d1d2fb36a (diff) |
config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS
Regroup AC statements under the Autoconf initialization section.
Regroup AM statements under the Automake initialization section.
Add missing AC_CONFIG_SRCDIR
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | configure.ac | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac index 2cfda53..37e685a 100644 --- a/configure.ac +++ b/configure.ac @@ -1,21 +1,24 @@ dnl Process this file with autoconf to create configure. +# Initialize Autoconf AC_PREREQ([2.60]) - AC_INIT([libXevie], [1.0.3], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], [libXevie]) +AC_CONFIG_SRCDIR([Makefile.am]) +AC_CONFIG_HEADERS([config.h]) + +# Initialize Automake AM_INIT_AUTOMAKE([foreign dist-bzip2]) AM_MAINTAINER_MODE +# Initialize libtool +AC_PROG_LIBTOOL + # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS 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 -AM_CONFIG_HEADER(config.h) - -# Check for progs -AC_PROG_LIBTOOL # Checks for pkg-config packages PKG_CHECK_MODULES(XEVIE, xproto x11 xextproto xext evieproto) |