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 #14 received at 28002 <at> debbugs.gnu.org (full text, mbox):

From: Hans-Bernhard Bröker <HBBroeker <at> t-online.de>
To: "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 20:45:04 +0200
Am 08.08.2017 um 08:03 schrieb Ghulam, Sean (Nokia - FI/Espoo):

> Prior to writing the report, I tried it with:
> AC_CONFIG_FILES(
> [Makefile]
> [src/Makefile:append/append.mk]
> )

On closer examination, the problem is that you've been reading only 
autoconf documenation to find out how to prepare input used by both 
autoconf and automake.  The correct syntax is actually in the automake 
manual:

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

The trick being that for automake to grok multi-part input, you have to 
name not just the final output file, but also the intermediate (the one 
automake is to build from src/Makefile.am).




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

Previous Next


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