bug-autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Autoheader and AC_CONFIG_HEADERS with new lines


From: Gaetan Nadon
Subject: Autoheader and AC_CONFIG_HEADERS with new lines
Date: Thu, 01 Apr 2010 12:00:46 -0400

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/address@hidden/msg04624.html

My current level of autoconf is 2.63 (automake 1.9.6) on Linux AMD64
platform.

Thanks



reply via email to

[Prev in Thread] Current Thread [Next in Thread]