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

Takashi Iwai tiwai at suse.de
Thu May 16 15:47:41 CEST 2013


At Thu, 16 May 2013 04:32:58 -0400,
olivier at trillion01.com wrote:
> 
> 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

Sigh, automake should be renamed to automasochism...

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

Thanks, applied.

BTW, at the next time, please specify which package to patch :)


Takashi


> 
> 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