GNU bug report logs - #28002
Automake doesn't handle AC_CONFIG_FILES syntax errors properly

Previous Next

Package: automake;

Reported by: "Ghulam, Sean (Nokia - FI/Espoo)" <sean.ghulam <at> nokia.com>

Date: Mon, 7 Aug 2017 15:32:02 UTC

Severity: normal

Tags: confirmed

Merged with 53780

Full log


Message #11 received at 28002 <at> debbugs.gnu.org (full text, mbox):

From: "Ghulam, Sean (Nokia - FI/Espoo)" <sean.ghulam <at> nokia.com>
To: Hans-Bernhard Bröker <HBBroeker <at> t-online.de>,
 "28002 <at> debbugs.gnu.org" <28002 <at> debbugs.gnu.org>
Subject: Re: bug#28002: automake prog_error when appending to configure.ac a
 colon-separated list of input files
Date: Tue, 8 Aug 2017 06:03:53 +0000
[Message part 1 (text/plain, inline)]
Hi,


Prior to writing the report, I tried it with:


AC_INIT([amhello], [1.0], [bug-automake <at> gnu.org])
AM_INIT_AUTOMAKE([-Wall -Werror foreign])
AC_PROG_CC
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_FILES(
[Makefile]
[src/Makefile:append/append.mk]
)
AC_OUTPUT

I have tried it once again and still receive the same error.

Best Regards,
Sean


________________________________
From: Hans-Bernhard Bröker <HBBroeker <at> t-online.de>
Sent: Tuesday, August 8, 2017 2:19 AM
To: Ghulam, Sean (Nokia - FI/Espoo); 28002 <at> debbugs.gnu.org
Subject: Re: bug#28002: automake prog_error when appending to configure.ac a colon-separated list of input files

Am 07.08.2017 um 10:10 schrieb Ghulam, Sean (Nokia - FI/Espoo):

> AC_CONFIG_FILES([ >   Makefile>   src/Makefile:append/append.mk> ])
Your bug report might be more convincing if you hadn't got that syntax
wrong.  Compare your example with the documentation example you found,
and particularly note where the []s and are:

> AC_CONFIG_FILES([Makefile:boiler/top.mk:boiler/bot.mk]
> [lib/Makefile:boiler/lib.mk])

Wouldn't you agree that your example should have been

AC_CONFIG_FILES(
   [Makefile]
   [src/Makefile:append/append.mk]
)

?
[Message part 2 (text/html, inline)]

This bug report was last modified 3 years and 115 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.