2005-11-26 Hollis Blanchard <hollis@penguinppc.org>
* configure.ac: Correct `AC_PROG_YACC' test.
This commit is contained in:
parent
9abde152f5
commit
1569ec5199
3 changed files with 56 additions and 0 deletions
|
@ -45,6 +45,14 @@ 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")
|
||||
if test "x$YACC" = x; then
|
||||
AC_MSG_ERROR([Could not find $tmp_yacc.])
|
||||
fi
|
||||
|
||||
AC_SYS_LARGEFILE
|
||||
|
||||
# Must be GCC.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue