On Tue, Jan 18, 2011 at 7:34 PM, Alan Coopersmith
<[email protected]> wrote:
> Replaces obsolete AM_CONFIG_HEADER and undocumented AC_CONFIG_HEADER
>
> Signed-off-by: Alan Coopersmith <[email protected]>
> ---
>
> Updated to use preferred macro as suggested by Gaetan
>
>  configure.ac |    3 +--
>  1 files changed, 1 insertions(+), 2 deletions(-)
>
> diff --git a/configure.ac b/configure.ac
> index a41d642..2e96d58 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -7,14 +7,13 @@ AC_INIT([libX11],
>         [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],
>         libX11)
>  AC_CONFIG_SRCDIR([Makefile.am])
> +AC_CONFIG_HEADERS([src/config.h include/X11/XlibConf.h])
>  AC_CONFIG_MACRO_DIR([m4])
>  AC_CANONICAL_BUILD
>  AC_CANONICAL_HOST
>
>  AM_INIT_AUTOMAKE([foreign dist-bzip2])
>  AM_MAINTAINER_MODE
> -AM_CONFIG_HEADER([src/config.h])
> -AC_CONFIG_HEADER([include/X11/XlibConf.h])

I was worried that AM_CONFIG_HEADER did something slightly different,
but a little google tells me it's just aliased to AC_CONFIG_HEADERS
nowadays anyway.

Reviewed-by: Dan Nicholson <[email protected]>
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to