PHP 4.1.2 & GNU Bison 1.34
| From: | Moisio Juha | Date: | Wed, 20 Mar 2002 16:00:20 +0000 |
| Subject: | PHP 4.1.2 & GNU Bison 1.34 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-81556@lists.php.net to get a copy of this message | ||
Hi,
I noticed that configure fails checking bison 1.34.
The output of bison 1.28 when running bison -V is:
GNU Bison version 1.28
but in version 1.34 the output is:
bison (GNU Bison) 1.34
Copyright 1984, 1986, 1989, 1992, 2000, 2001, 2002
Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There
is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
This is how I fixed that problem....
I changed configure line 1956 from
set
bison -V | sed -e 's/^GNU Bison version //'
to
set `bison -V | head -1 | sed -e 's/^bison (GNU Bison) //g' | sed -e
's/^GNU Bison version //'`
-Juha Moisio-