BUGREPORT: Problem with automake/autoconf scripts

Martin Oberhuber martin.oberhuber@windriver.com
Tue Dec 11 06:52:00 GMT 2001


Hello,

I have found a problem with the automake and autoconf scripts installed
in /usr/bin for switching between the DEVEL and STABLE versions of
automake and autoconf.

The bug leads to breaking automake or aclocal on scripts where some
text follows the AC_PREREQ line (like, for instance, in the DDD 
configuration script).

In Detail: automake allows a line like
AC_PREREQ(2.13)dnl
where some text follows the closing parenthesis after the version number.
The trailing text is not correctly eliminated by the SED script
which extracts the version number in the automake/autoconf scripts
distributed.

For correcting the bug, replace the following line:
VER=`sed -n -e '/AC_PREREQ/s/[^(]*(\([[:digit:]\.]*\))/\1/p' < $infile`
with the corrected line:
VER=`sed -n -e '/AC_PREREQ/s/[^(]*(\([[:digit:]\.]*\)).*$/\1/p' < $infile`

in all autoconf/automake scripts:
aclocal autoheader autoreconf autoupdate autoconf automake autoscan ifnames

corrected versions of these scripts are in the attached tarfile.

Cheers,
Martin

--
---------------------------------/()\-----------------------------------
DI Martin Oberhuber                mailto:martin.oberhuber@windriver.com
Senior Software Engineer           Phone  (UTC +1h): +43 (662) 457915-85
Wind River Systems (Salzburg) GmbH              Fax: +43 (662) 457915-6
Jakob-Haringer-Str.8, A-5020 Salzburg, Austria  http://www.windriver.com
----------------------- How Smart Things Think -------------------------
 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: autoscript-fixes.tgz
Type: application/octet-stream
Size: 3580 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20011211/a35d62fe/attachment.obj>
-------------- next part --------------
--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


More information about the Cygwin mailing list