delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-workers-bounces using -f |
X-Authentication-Warning: | itservs.wilkes.edu: apache set sender to fdonahoe AT wilkes DOT edu using -f |
Message-ID: | <1111807782.4244d726ef99d@webmail.wilkes.edu> |
Date: | Fri, 25 Mar 2005 22:29:42 -0500 |
From: | fdonahoe AT wilkes DOT edu |
To: | djgpp-workers AT delorie DOT com |
Subject: | Re: Recent change in VERSION format breaks scripts. |
MIME-Version: | 1.0 |
User-Agent: | Internet Messaging Program (IMP) 3.2 |
X-Originating-IP: | 146.94.1.208 |
Reply-To: | djgpp-workers AT delorie DOT com |
Quoting fdonahoe AT wilkes DOT edu: > > > While watching the configure script scroll past during the > first phase of compiling the recent port of sed 3.1.4 I noticed > an oddity. This is it from config.log : > > > configure:8801: checking for bison > > configure:8817: found /dev/c/djg/bin/bison > > configure:8827: result: bison > > configure:8840: checking version of bison > > configure:8849: result: v. ?.??, bad > > >From the command line > > C:\djg\gnu\sed-4.1-4>bison --version > bison (GNU Bison) '2.0' (DJGPP port 2005-01-11 (r1)) > > we notice that the version number 2.0 is single quoted. A trivial > change for humam use but enough to break the configure script. > Refering to the file `configure.orig' we find that the variable > VERSION is defined > > configure.orig: 1670 VERSION='2.0' > > The single quotes are retained when the reference to DJGPP is > added in > This wasn't ready to go out yet. All I did was click on the image to bring it into the foreground when it disappeared. The reference in DJGPP was added in `djgpp/config.sed' djgpp/config.sed 124 # Add DJGPP version information. 125 # /^#define VERSION/ s/\$VERSION/& (DJGPP port 2005-01-11 (r1))/ 126 /^[ ]*VERSION=/ { 127 s/=/="/ 128 s/$/ (DJGPP port 2005-01-11 (r1))"/ 129 } This idiosyncratic behavior is found in other recent ports, for example: >sed --version GNU sed version '4.1.4' (DJGPP port 2005-03-01 (r1) [djdev204 beta1]) and: >.\gawk.exe --version GNU Awk '3.1.4' (DJGPP port 2005-03-20 (r1)) while earlier ports: >gzip --version gzip 1.3.5 (DJGPP port 2004-12-15 (r1)) >m4 --version GNU m4 1.4.2 (DJGPP port 2004-10-31 (r1)) all come with VERSION defined in `configure.orig' without the single quotes. Is there some compelling reason for this recent change sufficient to justify breaking scripts which determine the version number of installed software? Should we just remove the quotes from configure.orig? Regards, Frank ----------------------------------------------------------------------- This mail was sent through Wilkes Webmail: http://webmail.wilkes.edu Wilkes Webmail is using IMP: http://horde.org/imp/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |