From: Adam Dickmeiss Date: Wed, 17 Dec 2014 13:20:59 +0000 (+0100) Subject: Fail hard if Bison is not found YAZ-808 X-Git-Tag: v5.7.3~5 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=90500878bfdf57e7c10ed4dc306b82fb9423e611;p=yaz-moved-to-github.git Fail hard if Bison is not found YAZ-808 --- diff --git a/configure.ac b/configure.ac index e1623bb..365422c7 100644 --- a/configure.ac +++ b/configure.ac @@ -16,7 +16,8 @@ dnl ------ Checking programs AC_PROG_CC AC_PROG_CPP AC_CHECK_PROGS([YACC], 'bison -y') -test -z "$YACC" && AC_MSG_WARN([GNU bison not found]) +test -z "$YACC" -a ! -f src/cql.c && AC_MSG_ERROR([GNU Bison not found]) +test -z "$YACC" && AC_MSG_WARN([GNU Bison not found]) AC_CHECK_PROGS([TCLSH], [tclsh tclsh8.5 tclsh8.4 tclsh8.3 tclsh8.2], [tclsh]) AC_PROG_INSTALL AM_PROG_LIBTOOL