summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorNuno Lopes <nlopess@php.net>2019-03-16 12:22:44 -0400
committerNuno Lopes <nlopess@php.net>2019-03-16 12:22:44 -0400
commit434fae97f2401b50f55ac6fe7390e0b0f933c6ec (patch)
tree149802a14d45dd7b30668e87873622d4c6663a45 /acinclude.m4
parentd7022d2d259ff499797d5077b9274856224b1009 (diff)
downloadphp-git-434fae97f2401b50f55ac6fe7390e0b0f933c6ec.tar.gz
check for bison binary, not yacc
this fixes compilation with recent bison
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index cea6db87ff..1684c74a92 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -1842,7 +1842,7 @@ dnl
dnl Search for bison and check it's version
dnl
AC_DEFUN([PHP_PROG_BISON], [
- AC_PROG_YACC
+ AC_CHECK_PROG(YACC, bison, bison)
LIBZEND_BISON_CHECK
PHP_SUBST(YACC)
])