URL:
<http://gna.org/bugs/?11693>
Summary: autogen.sh - version check of flex 2.5.34 incorrect
Project: Warzone Resurrection Project
Submitted by: verminus
Submitted on: Friday 16/05/08 at 14:25
Category: Build system
Severity: 3 - Normal
Priority: 5 - Normal
Status: None
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: svn/trunk
Operating System: All
Planned Release: None
_______________________________________________________
Details:
After reinstalling Ubuntu I forgot to upgrade flex to 2.5.35 and noticed this
when I ran ./autogen.sh
----
+ checking for pkg-config >= 0.9 ... found 0.22, ok.
+ checking for xgettext >= 0.15 ... found 0.17, ok.
+ checking for msgfmt >= 0.15 ... found 0.17, ok.
+ checking for autoconf >= 2.56 ... found 2.61, ok.
+ checking for automake >= 1.10 ... found 1.10.1, ok.
+ checking for bison >= 1.31 ... found 2.3, ok.
+ checking for flex >= 2.5.33 ... found *2.5.34*, ok.
+ checking for flex != *2.5.34* ... *not found, good.*
+ running aclocal ...
+ running autoheader ...
+ running autoconf ...
+ running automake ...
+ removing config.cache ...
----
So even though I have Flex 2.5.34 it still passes?
After a little poking around in autogen.sh I fond the problem:
line 129 (in function not_version)
if [ "$pkg_*major*" -eq "$MINOR" ]; then
Should be
if [ "$pkg_*minor*" -eq "$MINOR" ]; then
Well there you go. found a bug, gave a fix. just surprised it too so long for
someone to notice.
Oh and attached a fixed autogen.sh taken from r5123
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Friday 16/05/08 at 14:25 Name: autogen.sh Size: 5kB By: verminus
<http://gna.org/bugs/download.php?file_id=4344>
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?11693>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Warzone-dev mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-dev