[llvm-commits] CVS: llvm/autoconf/acinclude.m4
John Criswell
criswell at cs.uiuc.edu
Mon Jan 12 10:16:04 PST 2004
Changes in directory llvm/autoconf:
acinclude.m4 updated: 1.1 -> 1.2
---
Log message:
The configure script now defines BISON as the name of the bison program and
YACC as bison -y. In this way, we ensure that bison is being used, but
the Makefiles have macros for using bison itself and for getting bison to
act like it is traditional yacc.
---
Diffs of the changes: (+5 -1)
Index: llvm/autoconf/acinclude.m4
diff -u llvm/autoconf/acinclude.m4:1.1 llvm/autoconf/acinclude.m4:1.2
--- llvm/autoconf/acinclude.m4:1.1 Tue Dec 30 11:50:54 2003
+++ llvm/autoconf/acinclude.m4 Mon Jan 12 10:14:54 2004
@@ -6111,6 +6111,10 @@
# Check for Bison. This is modified from
# http://www.gnu.org/software/ac-archive/htmldoc/ac_cxx_namespaces.html
#
+# This macro verifies that Bison is installed. If successful, then
+# 1) YACC is set to bison -y (to emulate YACC calls)
+# 2) BISON is set to bison
+#
AC_DEFUN([AC_PROG_BISON],
[AC_CACHE_CHECK(,
ac_cv_has_bison,
@@ -6119,7 +6123,7 @@
if test "$YACC" != "bison -y"; then
AC_MSG_ERROR([bison not found but required])
else
- AC_SUBST(YACC,[bison],[location of bison])
+ AC_SUBST(BISON,[bison],[location of bison])
fi
])
More information about the llvm-commits
mailing list