com php-src: check for bison binary, not yacc this fixes compilation with recent bison: acinclude.m4
| From: | Nuno Lopes | Date: | Sat, 16 Mar 2019 16:21:52 +0000 |
| Subject: | com php-src: check for bison binary, not yacc this fixes compilation with recent bison: acinclude.m4 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-105166@lists.php.net to get a copy of this message | ||
Commit: 495a46aa1dc564656bf919cb49aae48a31ae15f4
Author: Nuno Lopes <nlopess@php.net> Sat, 16 Mar 2019 12:21:52 -0400
Parents: 3acbdb5085f7a5f0690eaef01bf03ff80e406a0c
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=495a46aa1dc564656bf919cb49aae48a31ae15f4
Log:
check for bison binary, not yacc
this fixes compilation with recent bison
Changed paths:
M acinclude.m4
Diff:
diff --git a/acinclude.m4 b/acinclude.m4
index cea6db8..1684c74 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)
])