From b8181fa65f5b5f102a7b1c0bf29a70d20665119a Mon Sep 17 00:00:00 2001 From: Evan Miller Date: Wed, 5 Aug 2020 10:08:11 -0400 Subject: [PATCH] Add -Wno-conflicts-sr to yacc flags --- configure.ac | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index a5f7254..e5aa945 100644 --- a/configure.ac +++ b/configure.ac @@ -46,7 +46,11 @@ AC_MSG_RESULT( no - SQL engine disable); sql=false fi -if ! $YACC -V >/dev/null 2>&1; then +if $YACC -V >/dev/null 2>&1; then + if $YACC -Wno-conflicts-sr -V >/dev/null 2>&1; then + YFLAGS="$YFLAGS -Wno-conflicts-sr" + fi +else sql=false fi