summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorPeter Kokot <peterkokot@gmail.com>2019-03-30 02:02:14 +0100
committerPeter Kokot <peterkokot@gmail.com>2019-03-30 02:02:14 +0100
commitb49022b3dcd31786f9a545a3858c1e309a541b31 (patch)
treef8251e83f26f272d9e2642c492c9d3a0f679e274 /configure.ac
parentabd0e015a8d126a8efee4b3625b500053ae9827d (diff)
parent3207741df0ac71dc78f8b8c54c4b3a44553208f0 (diff)
downloadphp-git-b49022b3dcd31786f9a545a3858c1e309a541b31.tar.gz
Merge branch 'PHP-7.4'
* PHP-7.4: Refactor PHP_PROG_BISON and PHP_PROG_RE2C
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac13
1 files changed, 2 insertions, 11 deletions
diff --git a/configure.ac b/configure.ac
index f24af89086..15e8cfd80d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -195,17 +195,8 @@ PHP_RUNPATH_SWITCH
dnl Checks for some support/generator progs
PHP_PROG_AWK
-PHP_PROG_BISON
-PHP_PROG_RE2C
-
-dnl Check if bison generated files exist when bison does not..
-case $php_cv_bison_version in
- ""|invalid[)]
- if ! test -f "$abs_srcdir/Zend/zend_language_parser.h" || ! test -f "$abs_srcdir/Zend/zend_language_parser.c" ; then
- AC_MSG_ERROR([bison is required to build PHP/Zend when building a GIT checkout!])
- fi
- ;;
-esac
+PHP_PROG_BISON([3.0.0])
+PHP_PROG_RE2C([0.13.4])
PHP_ARG_ENABLE([re2c-cgoto],
[whether to enable computed goto gcc extension with re2c],