[lxc-devel] [PATCH] configure: replace deprecated AM_CONFIG_HEADER

Stéphane Graber stgraber at ubuntu.com
Tue Feb 19 15:22:56 UTC 2013


On 02/19/2013 10:09 AM, Stéphane Graber wrote:
> On 02/19/2013 04:17 AM, Natanael Copa wrote:
>> Replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADER.
>>
>> This is needed for automake-1.13.
>>
>> Signed-off-by: Natanael Copa <ncopa at alpinelinux.org>
>> ---
>>  configure.ac | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/configure.ac b/configure.ac
>> index 931e0d6..c5c71e4 100644
>> --- a/configure.ac
>> +++ b/configure.ac
>> @@ -5,7 +5,7 @@ AC_INIT([lxc], [0.9.0.alpha3])
>>  
>>  AC_CONFIG_SRCDIR([configure.ac])
>>  AC_CONFIG_AUX_DIR([config])
>> -AM_CONFIG_HEADER([src/config.h])
>> +AC_CONFIG_HEADER([src/config.h])
>>  AM_INIT_AUTOMAKE([-Wall -Werror -Wno-portability])
>>  AC_CANONICAL_HOST
>>  AM_PROG_CC_C_O
>>
> 
> According to documentation AC_CONFIG_HEADER doesn't exist.
> However it clearly does and is called by AC_CONFIG_HEADERS which is
> apparently the one we're supposed to call nowadays.

Just did a few test builds with AC_CONFIG_HEADERS and it appears to
work, so I pushed it with that small change.

Acked-by: Stéphane Graber <stgraber at ubuntu.com>

-- 
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 901 bytes
Desc: OpenPGP digital signature
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20130219/05c8bdc5/attachment.pgp>


More information about the lxc-devel mailing list