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:22:44 +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-105167@lists.php.net to get a copy of this message | ||
Commit: 434fae97f2401b50f55ac6fe7390e0b0f933c6ec
Author: Nuno Lopes <nlopess@php.net> Sat, 16 Mar 2019 12:22:44 -0400
Parents: d7022d2d259ff499797d5077b9274856224b1009
Branches: PHP-7.4
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=434fae97f2401b50f55ac6fe7390e0b0f933c6ec
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)
])