GNU bug report logs - #16205
automake 1.14 chokes on file names with `='

Previous Next

Package: automake;

Reported by: Sebastian Freundt <freundt <at> ga-group.nl>

Date: Fri, 20 Dec 2013 19:20:02 UTC

Severity: wishlist

Tags: wontfix

Done: Stefano Lattarini <stefano.lattarini <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


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

From: Sebastian Freundt <freundt <at> ga-group.nl>
To: bug-automake <at> gnu.org
Subject: automake 1.14 chokes on file names with `='
Date: Fri, 20 Dec 2013 09:20:57 +0000
Consider following Makefile.am:
noinst_PROGRAMS = footool
footool_SOURCES = foo=bar.c
footool_CPPFLAGS = -DVERSION=4.0

processed with automake 1.14, autoconf 2.69, yields:
/usr/share/automake-1.14/am/depend2.am: error: bad characters in variable name 'footool-foo'
/usr/share/automake-1.14/am/depend2.am: warning: footool-foo multiply defined in condition TRUE ...
/usr/share/automake-1.14/am/depend2.am: ... 'footool-foo' previously defined here
autoreconf: automake failed with exit status: 1

Other automake versions are affected as well, at least automake 1.13.1 and
automake 1.12.6


Also noteworthy the variant without CPPFLAGS seems to work:
noinst_PROGRAMS = footool
footool_SOURCES = foo=bar.c

$ autoreconf -fi
$ echo $?
0





This bug report was last modified 11 years and 150 days ago.

Previous Next


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