Fix the build with automake 1.13
authorNuno Araujo <nuno.araujo@russo79.com>
Tue, 15 Jan 2013 15:21:15 +0000 (16:21 +0100)
committerStef Walter <stefw@gnome.org>
Fri, 25 Jan 2013 18:15:25 +0000 (19:15 +0100)
In Automake 1.13, the long-deprecated macro AM_CONFIG_HEADER (deprecated
since 2002) has been removed in favour of AC_CONFIG_HEADERS.

https://bugzilla.gnome.org/show_bug.cgi?id=692095

configure.ac

index 2c93587..92090bf 100644 (file)
@@ -37,7 +37,7 @@ dnl ****************************************************************************
 AC_CONFIG_MACRO_DIR([build/m4])
 AM_INIT_AUTOMAKE([1.11 tar-ustar foreign -Wno-portability])
 AM_SANITY_CHECK
-AM_CONFIG_HEADER(config.h)
+AC_CONFIG_HEADERS(config.h)
 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
 AM_MAINTAINER_MODE([enable])