[PATCH:libX11 2/3 v2] config: Use correct AC_CONFIG_HEADERS macro
Dan Nicholson
dbn.lists at gmail.com
Wed Jan 19 06:18:05 PST 2011
On Tue, Jan 18, 2011 at 7:34 PM, Alan Coopersmith
<alan.coopersmith at oracle.com> wrote:
> Replaces obsolete AM_CONFIG_HEADER and undocumented AC_CONFIG_HEADER
>
> Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
> ---
>
> 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 <dbn.lists at gmail.com>
More information about the xorg-devel
mailing list