This is the mail archive of the
mailing list for the Cygwin project.
Re: BUGREPORT: Problem with automake/autoconf scripts
- From: Charles Wilson <cwilson at ece dot gatech dot edu>
- To: Martin Oberhuber <martin dot oberhuber at windriver dot com>
- Cc: "'cygwin at cygwin dot com'" <cygwin at cygwin dot com>
- Date: Tue, 11 Dec 2001 12:23:30 -0500
- Subject: Re: BUGREPORT: Problem with automake/autoconf scripts
- References: <549191FE7B71D311BC5900104B292132010E53F0@kirk.takefive.co.at>
Martin Oberhuber wrote:
> 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
> 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
> 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.
Thanks -- I've corrected this in the primary source packages here:
Also, I've put updated cygwin-style packages for Corinna here:
Finally, I've also made a note to correct this in the (very very
experimental) libtool scripts.
Next time, however, it would be better to generate a patch against the
source code (automake.in, aclocal.in) and not simply create new output
files. (That's kinda like shipping a corrected '.exe' file without
incuding the source. Not quite, because THESE ".exe" files are just
text, but still...)
And also a changelog.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html