2010-10-14: Sylvestre Ledru
Fails the configure if cannot find a yacc implementation
(like bison)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12269 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
9eaf5ba1be
commit
2453aee4e7
2 changed files with 18 additions and 0 deletions
|
|
@ -14,3 +14,7 @@ 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)
|
||||||
|
|
|
||||||
14
configure.in
14
configure.in
|
|
@ -122,6 +122,20 @@ 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)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue