Fix build with automake-1.13
authorMarko Lindqvist <cazfi74@gmail.com>
Thu, 3 Jan 2013 04:38:01 +0000 (06:38 +0200)
committerSiarhei Siamashka <siarhei.siamashka@gmail.com>
Thu, 3 Jan 2013 23:54:10 +0000 (01:54 +0200)
Automake-1.13 has removed long obsolete AM_CONFIG_HEADER macro (
http://lists.gnu.org/archive/html/automake/2012-12/msg00038.html )
and autoreconf errors out upon seeing it.

Attached patch replaces obsolete AM_CONFIG_HEADER with now proper
AC_CONFIG_HEADERS.

configure.ac

index 81f068d..515e312 100644 (file)
@@ -64,7 +64,7 @@ AM_INIT_AUTOMAKE([foreign dist-bzip2])
 # Suppress verbose compile lines
 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
 
-AM_CONFIG_HEADER(config.h)
+AC_CONFIG_HEADERS(config.h)
 
 AC_CANONICAL_HOST