[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH mig] Test the configured yacc program
From: |
David Michael |
Subject: |
[PATCH mig] Test the configured yacc program |
Date: |
Fri, 06 Feb 2015 13:15:24 -0500 |
* configure.ac (yacc_is_bison): Test the configured yacc program.
---
Hi,
The most recent patch fails on Fedora, which has no "yacc" program (at
least not from bison). Can this minor adjustment be applied?
Thanks.
David
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 37bf432..09af0d6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -26,7 +26,7 @@ AC_PROG_CC
AC_PROG_CPP
AC_PROG_YACC
-yacc_is_bison=`yacc --version | head -n 1 | cut '-d ' -f1`
+yacc_is_bison=`$YACC --version | head -n 1 | cut '-d ' -f1`
[if [ x"$yacc_is_bison" != x"bison" ]; then ]
AC_MSG_ERROR([yacc is not provided by bison, check your alternative
conf or your packages])
[fi]
--
2.1.0
- [PATCH mig] Test the configured yacc program,
David Michael <=