Changeset: 8e0654ad5c96 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=8e0654ad5c96
Modified Files:
configure.ag
Branch: embedded
Log Message:
making bison optional for embedded mode
diffs (27 lines):
diff --git a/configure.ag b/configure.ag
--- a/configure.ag
+++ b/configure.ag
@@ -1511,12 +1511,17 @@ case "$YACC" in
fi
;;
*)
- if test "x$enable_sql" = xyes; then
- AC_MSG_ERROR([MonetDB/SQL requires bison])
- fi
- enable_sql=no
- if test "x$disable_sql" = x; then
- disable_sql="(MonetDB/SQL requires bison)"
+ # in embedded mode, we ship the bison-generated files
+ if test "x$enable_embedded" = xno; then
+ if test "x$enable_sql" = xyes; then
+ AC_MSG_ERROR([MonetDB/SQL requires bison])
+ fi
+ enable_sql=no
+ if test "x$disable_sql" = x; then
+ disable_sql="(MonetDB/SQL requires bison)"
+ fi
+ else
+ AC_MSG_WARN([ignoring missing bison in embedded
configuration])
fi
;;
esac
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list