Sylvestre Ledru 2010-10-29 10:22:03 +00:00
commit 43794d90cd
2 changed files with 0 additions and 18 deletions

View file

@ -18,7 +18,3 @@ Version 2.0.2 (in progress)
Fix unary scope operator (::) (global scope) regression introduced in 2.0.0, reported by Fix unary scope operator (::) (global scope) regression introduced in 2.0.0, reported by
Ben Walker. The mangled symbol names were incorrect, sometimes resulting in types being Ben Walker. The mangled symbol names were incorrect, sometimes resulting in types being
incorrectly treated as opaque types. incorrectly treated as opaque types.
2010-10-14: Sylvestre Ledru
Fails the configure if cannot find a yacc implementation
(like bison)

View file

@ -122,20 +122,6 @@ echo "Note : None of the following packages are required for users to compile an
echo "" echo ""
AC_PROG_YACC AC_PROG_YACC
echo "YACC $YACC"
if test -z "$YACC"; then
AC_MSG_ERROR([No implementation of Yacc (bison, yacc) detected.])
fi
# Actually, AC_PROG_YACC is lying. It sometimes put yacc into $YACC even it
# hasn't been able to find it.
# AC_CHECK_PROG(YACC_PRESENT, $YACC, AC_MSG_ERROR([No implementation of Yacc (bison, yacc) detected. Please install it (package bison)]) )
AC_CHECK_PROG(yacc_present, $YACC, "yes","no")
if test "x$yacc_present" != "xyes"; then
AC_MSG_ERROR([No implementation of Yacc (bison, yacc) detected. Please install it (package bison)])
fi
AC_PROG_RANLIB AC_PROG_RANLIB
AC_CHECK_PROGS(AR, ar aal, ar) AC_CHECK_PROGS(AR, ar aal, ar)
AC_SUBST(AR) AC_SUBST(AR)