check for bison binary, not yacc

this fixes compilation with recent bison
This commit is contained in:
Nuno Lopes 2019-03-16 12:21:52 -04:00
parent 3acbdb5085
commit 495a46aa1d

View File

@ -1842,7 +1842,7 @@ dnl
dnl Search for bison and check it's version dnl Search for bison and check it's version
dnl dnl
AC_DEFUN([PHP_PROG_BISON], [ AC_DEFUN([PHP_PROG_BISON], [
AC_PROG_YACC AC_CHECK_PROG(YACC, bison, bison)
LIBZEND_BISON_CHECK LIBZEND_BISON_CHECK
PHP_SUBST(YACC) PHP_SUBST(YACC)
]) ])