[llvm-commits] CVS: llvm/autoconf/m4/bison.m4
Reid Spencer
reid at x10sys.com
Thu Aug 24 15:41:34 PDT 2006
Changes in directory llvm/autoconf/m4:
bison.m4 updated: 1.4 -> 1.5
---
Log message:
For PR738: http://llvm.org/PR738 :
Demote check for bison from error to warning and make sure that the
makefile can handle an empty definition for BISON variable.
---
Diffs of the changes: (+3 -2)
bison.m4 | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
Index: llvm/autoconf/m4/bison.m4
diff -u llvm/autoconf/m4/bison.m4:1.4 llvm/autoconf/m4/bison.m4:1.5
--- llvm/autoconf/m4/bison.m4:1.4 Mon Dec 13 03:37:41 2004
+++ llvm/autoconf/m4/bison.m4 Thu Aug 24 17:41:20 2006
@@ -8,7 +8,8 @@
AC_DEFUN([AC_PROG_BISON],
[AC_CACHE_CHECK([],[llvm_cv_has_bison],[AC_PROG_YACC()])
if test "$YACC" != "bison -y"; then
- AC_MSG_ERROR([bison not found but required])
+ AC_SUBST(BISON,[])
+ AC_MSG_WARN([bison not found, can't rebuild grammars])
else
- AC_SUBST(BISON,[bison],[location of bison])
+ AC_SUBST(BISON,[bison])
fi])
More information about the llvm-commits
mailing list