From 7ffc0a6534fb66ad27d22984e25bd0789f4404b6 Mon Sep 17 00:00:00 2001 From: Jan Maria Matejka Date: Tue, 14 Aug 2018 14:36:44 +0200 Subject: Bison: A bit more verbose error messages in config. --- configure.ac | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 9a2e55e2..943d3a7b 100644 --- a/configure.ac +++ b/configure.ac @@ -164,7 +164,12 @@ if test "$bird_bison_synclines" = yes; then M4FLAGS="$M4FLAGS -s" fi +if test "$bird_bison_enhanced_error" = yes; then + BISONFLAGS="$BISONFLAGS -Dparse.lac=full -Dparse.error=verbose" +fi + AC_SUBST([M4FLAGS]) +AC_SUBST([BISONFLAGS]) BIRD_CHECK_PROG_FLAVOR_GNU([$M4], [], -- cgit v1.2.3