Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 57653 - 2.52x stricter on underquoting
2.52x stricter on underquoting
Product: Red Hat Raw Hide
Classification: Retired
Component: autoconf (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jens Petersen
Brian Brock
: 59077 (view as bug list)
Depends On:
  Show dependency treegraph
Reported: 2001-12-18 05:29 EST by vvs
Modified: 2007-04-18 12:38 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-12-19 00:30:44 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
autoconf template file (246 bytes, text/plain)
2001-12-18 05:32 EST, vvs
no flags Details

  None (edit)
Description vvs 2001-12-18 05:29:30 EST
Description of Problem:

autoconf did produce broken configure script.

Version-Release number of selected component (if applicable):


How Reproducible:


Steps to Reproduce:
1. save attached configure.in file
2. touch Makefile.am
3. aclocal
4. autoheader
5. automake -a
6. autoconf
7. ./configure

Actual Results:

Syntax error.

Expected Results:

Successful termination.

Additional Information:
The above procedure works correctly with autoconf-2.13 from Red Hat 7.2.
Comment 1 vvs 2001-12-18 05:32:13 EST
Created attachment 40888 [details]
autoconf template file
Comment 2 Jens Petersen 2001-12-19 00:30:34 EST
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.
Comment 3 Jens Petersen 2001-12-19 21:21:59 EST
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_LIB(z, gzsetparams,
             [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.
Comment 4 Jens Petersen 2002-01-30 20:32:28 EST
*** Bug 59077 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.