Skip to content

Instantly share code, notes, and snippets.

@xarem
Last active May 16, 2019 14:15
Show Gist options
  • Save xarem/6bbc19b6c00ebd9ae35ee7cc4fdba578 to your computer and use it in GitHub Desktop.
Save xarem/6bbc19b6c00ebd9ae35ee7cc4fdba578 to your computer and use it in GitHub Desktop.
--- acinclude.m4 2019-04-30 12:12:22.000000000 +0200
+++ acinclude.m4 2019-05-16 16:10:03.000000000 +0200
@@ -9,7 +9,7 @@
# non-working versions, e.g. "3.0 3.2";
# remove "none" when introducing the first incompatible bison version an
# separate any following additions by spaces
- bison_version_exclude="3.0"
+ bison_version_exclude="3.0.0"
# for standalone build of Zend Engine
test -z "$SED" && SED=sed
@@ -21,7 +21,7 @@
php_cv_bison_version=invalid
if test -n "$bison_version_vars"; then
set $bison_version_vars
- bison_version="${1}.${2}"
+ bison_version="${1}.${2}.${3}"
bison_version_num="`expr ${1} \* 100 + ${2}`"
if test $bison_version_num -ge $bison_version_min; then
php_cv_bison_version="$bison_version (ok)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment