summaryrefslogtreecommitdiff
path: root/am/bison.m4
diff options
context:
space:
mode:
Diffstat (limited to 'am/bison.m4')
-rw-r--r--am/bison.m411
1 files changed, 11 insertions, 0 deletions
diff --git a/am/bison.m4 b/am/bison.m4
new file mode 100644
index 000000000..875b326d0
--- /dev/null
+++ b/am/bison.m4
@@ -0,0 +1,11 @@
+# bison.m4 serial 1
+AC_DEFUN([MU_PROG_BISON],
+[
+ if test "x$ac_cv_prog_YACC" = x; then
+ AC_PROG_YACC
+ if ! $YACC --version 2>/dev/null | grep -q '^bison '; then
+ YACC="$SHELL $missing_dir/missing bison"
+ fi
+ fi
+])
+

Return to:

Send suggestions and report system problems to the System administrator.