public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Martin Oberhuber <martin.oberhuber@windriver.com>
To: "'cygwin@cygwin.com'" <cygwin@cygwin.com>
Subject: BUGREPORT: Problem with automake/autoconf scripts
Date: Tue, 11 Dec 2001 06:52:00 -0000	[thread overview]
Message-ID: <549191FE7B71D311BC5900104B292132010E53F0@kirk.takefive.co.at> (raw)

[-- Attachment #1: Type: text/plain, Size: 1466 bytes --]

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 -------------------------
 


[-- Attachment #2: autoscript-fixes.tgz --]
[-- Type: application/octet-stream, Size: 3580 bytes --]

[-- Attachment #3: Type: text/plain, Size: 214 bytes --]

--
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/

             reply	other threads:[~2001-12-11 14:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-11  6:52 Martin Oberhuber [this message]
2001-12-11  9:25 ` Charles Wilson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=549191FE7B71D311BC5900104B292132010E53F0@kirk.takefive.co.at \
    --to=martin.oberhuber@windriver.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).