From f573a84faeb902f74b5f4b6fc1a67e7579012a9e Mon Sep 17 00:00:00 2001 From: David Michael Date: Fri, 6 Feb 2015 13:15:24 -0500 Subject: Test the configured yacc program * configure.ac (yacc_is_bison): Test the configured yacc program. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.ac') 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] -- cgit v1.2.3