[alsa-devel] [PATCH] Remove an obsolete macro in configure.in

olivier at trillion01.com olivier at trillion01.com
Thu May 16 10:32:58 CEST 2013


From: Olivier Langlois <olivier at trillion01.com>

Replaced AM_CONFIG_HEADER with AC_CONFIG_HEADERS

lano1106 at whippet2 ~/dev/alsa-lib $ ./gitcompile
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
configure.in:56: error: 'AM_CONFIG_HEADER': this macro is obsolete.
    You should use the 'AC_CONFIG_HEADERS' macro instead.
/usr/share/aclocal-1.13/obsolete-err.m4:12: AM_CONFIG_HEADER is expanded from...
configure.in:56: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal: error: echo failed with exit status: 1

Signed-off-by: Olivier Langlois <olivier at trillion01.com>

diff --git a/configure.in b/configure.in
index ed3fe04..207e154 100644
--- a/configure.in
+++ b/configure.in
@@ -53,7 +53,7 @@ CC_NOUNDEFINED
 
 dnl Checks for header files.
 AC_HEADER_STDC
-AM_CONFIG_HEADER(include/config.h)
+AC_CONFIG_HEADERS(include/config.h)
 
 dnl Checks for typedefs, structures, and compiler characteristics.
 AC_C_CONST
-- 
1.8.2.3



More information about the Alsa-devel mailing list