Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 449973

Summary: Strange m4_if releated error message from autotest
Product: [Fedora] Fedora Reporter: Jochen Schmitt <jochen>
Component: autoconfAssignee: Karsten Hopp <karsten>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhide   
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: 2008-06-06 09:30:43 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: 449665    

Description Jochen Schmitt 2008-06-04 15:28:02 UTC
When I tryp to build gnu-smalltalk with autoconf-2.62 I will get the following
error messages:

[s4504kr@zeus ~]$ cd cvs/fedora/gnu-smalltalk/F-9/smalltalk-3.0.3/
[s4504kr@zeus smalltalk-3.0.3]$ cd tests/
[s4504kr@zeus tests]$ make
/bin/sh
/home/s4504kr/cvs/fedora/gnu-smalltalk/F-9/smalltalk-3.0.3/build-aux/missing
--run autom4te --language=autotest -I '.' -o testsuite.tmp testsuite.at
testsuite.tmp:669: error: possibly undefined macro: m4_if
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
make: *** [testsuite] Fehler 1

This error occurs only with the version 2.62 of autoconf. Earlier version of
autoconf works fine.

Comment 1 Karsten Hopp 2008-06-06 09:30:43 UTC
reported upstream, fix available at
http://git.savannah.gnu.org/gitweb/?p=autoconf.git;a=commitdiff_plain;h=3ac7ceb0c2dfd023e0e9e944da6825b6bd676568

Fixed in autoconf-2.62-2

Comment 2 Eric Blake 2008-06-06 12:03:48 UTC
Meanwhile, you may want to file a bug with the gnu-smalltalk package, informing
them that they can change their package to work around pristine upstream
autoconf 2.62 by altering their offending sequence (something like this):

AT_KEYWORDS([m4_if([$1], [dummy], [], [$1 ])dummy])

to instead expand the m4_if prior to invoking AT_KEYWORDS, like this:

AT_KEYWORDS(m4_if([$1], [dummy], [], [$1 ])[dummy])