Description of Problem:
autoconf did produce broken configure script.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. save attached configure.in file
2. touch Makefile.am
5. automake -a
The above procedure works correctly with autoconf-2.13 from Red Hat 7.2.
Created attachment 40888 [details]
autoconf template file
Reproduced. This seems to be a bug in the development version which
unfortunately has crept into rawhide. Perhaps I will revert it to the 2.52 release.
On second thoughts. Your example is a case of "underquoting".
The macro calls need to be quoted properly for safe expansion (see "Autoconf
Language" in the autoconf manual).
eg like this:
[AC_CHECK_HEADER(zlib.h,,[AC_MSG_ERROR(zlib headers not found)])],
[AC_MSG_ERROR(zlib library not found)])
The fact that this worked under 2.52 and 2.13 was just pure luck and should not
be relied on.
*** Bug 59077 has been marked as a duplicate of this bug. ***