mirror of
https://github.com/php/php-src.git
synced 2025-08-20 09:24:05 +02:00
bison may be installed under a different executable name, e.g.
YACC="bison-1.75" configure ... removing the check for "bison -y" allows for this the check was redundant anyway as the following one filters for "GNU Bison" in the --version output
This commit is contained in:
parent
af14bbe455
commit
fce59d9dae
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ AC_DEFUN([LIBZEND_BISON_CHECK],[
|
||||||
# we only support certain bison versions
|
# we only support certain bison versions
|
||||||
bison_version_list="1.28 1.35 1.75 2.0"
|
bison_version_list="1.28 1.35 1.75 2.0"
|
||||||
|
|
||||||
if test "$YACC" = "bison -y"; then
|
if test "$YACC"; then
|
||||||
AC_CACHE_CHECK([for bison version], php_cv_bison_version, [
|
AC_CACHE_CHECK([for bison version], php_cv_bison_version, [
|
||||||
set `bison --version| grep 'GNU Bison' | cut -d ' ' -f 4 | $SED -e 's/\./ /'|tr -d a-z`
|
set `bison --version| grep 'GNU Bison' | cut -d ' ' -f 4 | $SED -e 's/\./ /'|tr -d a-z`
|
||||||
bison_version="${1}.${2}"
|
bison_version="${1}.${2}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue