[PATCH:libX11 2/3] Replace obsolete AM_CONFIG_HEADER with additional arg to AC_CONFIG_HEADER

Gaetan Nadon memsize at videotron.ca
Sun Jan 16 18:20:34 PST 2011


On Sun, 2011-01-16 at 12:17 -0800, Alan Coopersmith wrote:

> Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
> ---
>  configure.ac |    3 +--
>  1 files changed, 1 insertions(+), 2 deletions(-)
> 
> diff --git a/configure.ac b/configure.ac
> index a41d642..b75a199 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -10,11 +10,10 @@ AC_CONFIG_SRCDIR([Makefile.am])
>  AC_CONFIG_MACRO_DIR([m4])
>  AC_CANONICAL_BUILD
>  AC_CANONICAL_HOST
> +AC_CONFIG_HEADER([src/config.h include/X11/XlibConf.h])

Should be AC_CONFIG_HEADERS, as AC_CONFIG_HEADER exists but is
undocumented.
http://www.gnu.org/software/autoconf/manual/autoconf.html#index-AC_005fCONFIG_005fHEADERS-201

>  
>  AM_INIT_AUTOMAKE([foreign dist-bzip2])
>  AM_MAINTAINER_MODE
> -AM_CONFIG_HEADER([src/config.h])
> -AC_CONFIG_HEADER([include/X11/XlibConf.h])
>  
>  # Set common system defines for POSIX extensions, such as _GNU_SOURCE
>  # Must be called before any macros that run the compiler (like AC_PROG_LIBTOOL)


Reviewed-by: Gaetan Nadon <memsize at videotron.ca>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg-devel/attachments/20110116/4339323c/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.x.org/archives/xorg-devel/attachments/20110116/4339323c/attachment.pgp>


More information about the xorg-devel mailing list