Bug 544039
Summary: | Autoconf >= 2.64 causes ./configure: line 2837: `yes:' | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Robert Scheck <redhat-bugzilla> | ||||||
Component: | autoconf | Assignee: | Karsten Hopp <karsten> | ||||||
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | urgent | Docs Contact: | |||||||
Priority: | low | ||||||||
Version: | rawhide | CC: | karsten, kasal | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | All | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2009-12-03 23:54:29 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Bug Depends On: | |||||||||
Bug Blocks: | 538190 | ||||||||
Attachments: |
|
Description
Robert Scheck
2009-12-03 19:00:13 UTC
Created attachment 375876 [details] configure.f11.bz2 Created attachment 375877 [details] configure.f13.bz2 The problem is that the sources for the configure script in question are not correct; it is pure coincidence that older versions of Autoconf happened to produce correct shell script from these sources. The problem is that macro AC_LBL_C_INIT, defined in file unicornscan-0.4.7/aclocal.m4 contains the following pattern: AC_CACHE_VAL(ac_cv_lbl_something, AC_TRY_COMPILE(args)) This means that the macro AC_TRY_COMPILE is expanded during the argument list scan; this means that any comma or right parenthesis in the expansion totally confuses everything. The usual practice is to quote every argument of every macro, so that the arguments get collected unexpanded and thus their expansion happens only after the expansion of the outer macro (AC_CACHE_VAL in this case). In this case, it means that the above pattern should be replaced by AC_CACHE_VAL([ac_cv_lbl_something], [AC_TRY_COMPILE(args)]) After doing this change in all three occurences of this pattern in AC_LBL_C_INIT, I got a working configure script. |