Re: [Warzone-dev] Bison detection in autogen.sh

2006-12-02 Thread Dennis Schridde
Am Dienstag, 28. November 2006 14:07 schrieb Per Inge Mathisen:
 I tried to compile on MacOSX 10.4 from subversion repository today,
 and discovered to my horror that MacOSX (still!) ships a truly ancient
 bison 1.28 version, which does not support %name-prefix (introduced in
 bison 1.31, current is 2.1). So a newer version needs to be installed.
 Both fink or darwinsports should do the job (I used fink, worked
 fine).

 However, we should warn the user about ancient versions of bison, so
 that they do not think we are at fault when problems like this happen.
 A very large and complicated patch to implement this is attached.
I don't know if the autogen.sh is the best place for this...
Naturally it should go to configure.ac, but apparently the AC_PROG_YACC 
doesn't support a version check... :(

(Most users which use the release version wont ever execute autogen.sh.)

--Dennis


pgpfXbg9BNqjx.pgp
Description: PGP signature
___
Warzone-dev mailing list
Warzone-dev@gna.org
https://mail.gna.org/listinfo/warzone-dev


[Warzone-dev] Bison detection in autogen.sh

2006-11-28 Thread Per Inge Mathisen

I tried to compile on MacOSX 10.4 from subversion repository today,
and discovered to my horror that MacOSX (still!) ships a truly ancient
bison 1.28 version, which does not support %name-prefix (introduced in
bison 1.31, current is 2.1). So a newer version needs to be installed.
Both fink or darwinsports should do the job (I used fink, worked
fine).

However, we should warn the user about ancient versions of bison, so
that they do not think we are at fault when problems like this happen.
A very large and complicated patch to implement this is attached.

 - Per


bison.diff
Description: Binary data
___
Warzone-dev mailing list
Warzone-dev@gna.org
https://mail.gna.org/listinfo/warzone-dev


Re: [Warzone-dev] Bison detection in autogen.sh

2006-11-28 Thread Dennis Schridde
Am Dienstag, 28. November 2006 14:07 schrieb Per Inge Mathisen:
 I tried to compile on MacOSX 10.4 from subversion repository today,
 and discovered to my horror that MacOSX (still!) ships a truly ancient
 bison 1.28 version, which does not support %name-prefix (introduced in
 bison 1.31, current is 2.1).
Actually it's at least 2.3 which is current. ;)
Not that it matters in this case, though...


pgpAEwDdozpuV.pgp
Description: PGP signature
___
Warzone-dev mailing list
Warzone-dev@gna.org
https://mail.gna.org/listinfo/warzone-dev