projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d2037c
)
Fail hard if Bison is not found YAZ-808
author
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 17 Dec 2014 13:20:59 +0000
(14:20 +0100)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 17 Dec 2014 13:20:59 +0000
(14:20 +0100)
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
e1623bb
..
365422c
100644
(file)
--- 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