The first version of the statement works fine while the second does not.
AC_CONFIG_HEADERS([fontconf.h])
AC_CONFIG_HEADERS([config.h
fontconf.h])
A file "config.h\n.in" gets created. The documentation explicitly says
new lines
are ok in the list.
A second issue is that autoheader knows about the problem but does not
stop on error (return code 0).
The following output is produced:
Unsuccessful stat on filename containing newline at
/usr/share/perl/5.10/File/Copy.pm line 229.
If new lines cannot be supported as claimed, it would help a lot if
autoheader stopped
on error. The configuration process typically spews out a lot of output
and the message goes unnoticed.
The problem was reported by someone else as well some time ago:
http://www.mail-archive.com/[email protected]/msg04624.html
My current level of autoconf is 2.63 (automake 1.9.6) on Linux AMD64
platform.
Thanks