]> granicus.if.org Git - php/commitdiff
check for bison binary, not yacc
authorNuno Lopes <nlopess@php.net>
Sat, 16 Mar 2019 16:22:44 +0000 (12:22 -0400)
committerNuno Lopes <nlopess@php.net>
Sat, 16 Mar 2019 16:22:44 +0000 (12:22 -0400)
this fixes compilation with recent bison

acinclude.m4

index cea6db87ffd5080a02fd4f5d0bc5decfa36ed038..1684c74a92916ccac91ae943f1dc3d0501def92d 100644 (file)
@@ -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)
 ])