Use AC_CONFIG_HEADERS, not AM_CONFIG_HEADER
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Thu, 24 Feb 2011 15:53:08 +0000 (15:53 +0000)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Thu, 24 Feb 2011 15:53:08 +0000 (15:53 +0000)
Part of a patch by Javier Jardón.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=32245
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
configure.ac

index 253496b..1b41429 100644 (file)
@@ -12,10 +12,10 @@ AC_CANONICAL_HOST
 AC_LIBTOOL_WIN32_DLL
 AC_LIBTOOL_RC
 
+AC_CONFIG_HEADERS([config.h])
 AC_CONFIG_MACRO_DIR([m4])
 
 AM_INIT_AUTOMAKE([1.10 tar-ustar -Wno-portability])
-AM_CONFIG_HEADER(config.h)
 
 # Honor aclocal flags
 ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"