The manual discourages non-literals in AC_CONFIG_FOO, but does not
forbid them. There are a few things that break when a variable is used
instead of literal tags (eg. "./config.status TAG" does not work), but
since ce429ecd ("Proper config.status --file/--header and $srcdir
escaping.") newlines in the value of the variable do not work at all:
$ cat configure.ac
AC_INIT
foo="Makefile
foo"
AC_CONFIG_FILES([$foo])
AC_OUTPUT
$ ./configure
configure: creating ./config.status
./config.status: line 579: foo: command not found
config.status: creating Makefile
The docs say that the tag list can be blank or newline separated, not
distinguishing between literals and non-literals.
Andreas.
--
Andreas Schwab, SuSE Labs, [EMAIL PROTECTED]
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."