2006-01-03 Marco Gerards <marco@gnu.org>
* INSTALL: GNU Bison is required. * configure.ac: Rewritten the test to detect Bison. * Makefile.in (YACC): New variable. Reported by Xun Sun <xun.sun.cn@gmail.com>.
This commit is contained in:
parent
af4b2d89a0
commit
144f1f986f
5 changed files with 73 additions and 154 deletions
|
@ -45,13 +45,10 @@ if test "x$CFLAGS" = x; then
|
|||
fi
|
||||
|
||||
AC_PROG_CC
|
||||
AC_PROG_YACC
|
||||
# AC_PROG_YACC doesn't actually check if yacc exists!
|
||||
tmp_yacc=$YACC
|
||||
unset YACC
|
||||
AC_CHECK_PROG(YACC, "$tmp_yacc", "$tmp_yacc")
|
||||
|
||||
AC_CHECK_PROGS([YACC], [bison])
|
||||
if test "x$YACC" = x; then
|
||||
AC_MSG_ERROR([Could not find $tmp_yacc.])
|
||||
AC_MSG_ERROR([Could not find bison.])
|
||||
fi
|
||||
|
||||
AC_SYS_LARGEFILE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue