2013-02-14 14:27:01

by Lucas De Marchi

[permalink] [raw]
Subject: [PATCH sbc] build: Do not use deprecated AM_CONFIG_HEADER

The long-obsoleted AM_CONFIG_HEADER macro was removed in automake 1.13.
Use AC_CONFIG_HEADERS instead.
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 9d5ebdb..30496ad 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2,7 +2,7 @@ AC_PREREQ(2.60)
AC_INIT(sbc, 1.0)

AM_INIT_AUTOMAKE([foreign subdir-objects color-tests])
-AM_CONFIG_HEADER(config.h)
+AC_CONFIG_HEADERS(config.h)

m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])

--
1.8.1.3



2013-02-27 10:55:54

by Johan Hedberg

[permalink] [raw]
Subject: Re: [PATCH sbc] build: Do not use deprecated AM_CONFIG_HEADER

Hi Lucas,

On Thu, Feb 14, 2013, Lucas De Marchi wrote:
> The long-obsoleted AM_CONFIG_HEADER macro was removed in automake 1.13.
> Use AC_CONFIG_HEADERS instead.
> ---
> configure.ac | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

Applied. Thanks.

Johan