[PATCH:libX11 2/3 v2] config: Use correct AC_CONFIG_HEADERS macro

Alan Coopersmith alan.coopersmith at oracle.com
Tue Jan 18 19:34:25 PST 2011


Replaces obsolete AM_CONFIG_HEADER and undocumented AC_CONFIG_HEADER

Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
---

Updated to use preferred macro as suggested by Gaetan

 configure.ac |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index a41d642..2e96d58 100644
--- a/configure.ac
+++ b/configure.ac
@@ -7,14 +7,13 @@ AC_INIT([libX11],
         [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],
         libX11)
 AC_CONFIG_SRCDIR([Makefile.am])
+AC_CONFIG_HEADERS([src/config.h include/X11/XlibConf.h])
 AC_CONFIG_MACRO_DIR([m4])
 AC_CANONICAL_BUILD
 AC_CANONICAL_HOST
 
 AM_INIT_AUTOMAKE([foreign dist-bzip2])
 AM_MAINTAINER_MODE
-AM_CONFIG_HEADER([src/config.h])
-AC_CONFIG_HEADER([include/X11/XlibConf.h])
 
 # Set common system defines for POSIX extensions, such as _GNU_SOURCE
 # Must be called before any macros that run the compiler (like AC_PROG_LIBTOOL)
-- 
1.7.3.2



More information about the xorg-devel mailing list