Re: [PATCH] build: use AC_CONFIG_HEADERS, not AM_CONFIG_HEADER

Paolo Bonzini <[email protected]>
Newsgroups gmane.comp.gnu.utils.bugs,gmane.comp.sysutils.automake.general
Message-ID <[email protected]>
Il 29/12/2012 17:32, Stefano Lattarini ha scritto:
> * configure.ac: Here.  The latter has been removed in Automake 1.13.

Is there any reason for this, apart from randomly breaking
perfectly-working packages?

The right way to do this is to rely on the autoupdate machinery.

Paolo

> 
> Signed-off-by: Stefano Lattarini <[email protected]>
> Copyright-paperwork-exempt: yes
> ---
>  ChangeLog    | 5 +++++
>  configure.ac | 2 +-
>  2 files changed, 6 insertions(+), 1 deletion(-)
> 
> diff --git a/ChangeLog b/ChangeLog
> index 83109e7..133b56a 100644
> --- a/ChangeLog
> +++ b/ChangeLog
> @@ -1,3 +1,8 @@
> +2012-12-29  Stefano Lattarini  <[email protected]>  (tiny change)
> +
> +	build: use AC_CONFIG_HEADERS, not AM_CONFIG_HEADER
> +	* configure.ac: Here.  The latter has been removed in Automake 1.13.
> +
>  2012-12-21  Paolo Bonzini  <[email protected]>
>  
>  	* configure.ac: Bump version number.  Replace COPYRIGHT_YEAR.
> diff --git a/configure.ac b/configure.ac
> index 9d33ec9..c89f368 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -2,7 +2,7 @@ dnl Process this file with -*- autoconf -*- to produce a configure script.
>  AC_INIT([GNU sed], 4.2.2, [email protected], sed)
>  AC_CONFIG_AUX_DIR(build-aux)
>  AC_CONFIG_SRCDIR([sed/sed.c])
> -AM_CONFIG_HEADER(config.h:config_h.in)
> +AC_CONFIG_HEADERS(config.h:config_h.in)
>  AC_PREREQ(2.60)
>  AM_INIT_AUTOMAKE
>  
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.