Check for yodl >= 2.02. 1.31.18 is known not to work and 2.01.00 to 2.01.03 gave an error message
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13959 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
600b598f67
commit
d994d47028
1 changed files with 13 additions and 2 deletions
15
configure.in
15
configure.in
|
|
@ -118,7 +118,7 @@ AC_SUBST(ENABLE_CCACHE)
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo "Checking packages required for SWIG developers."
|
echo "Checking packages required for SWIG developers."
|
||||||
echo "Note : None of the following packages are required for users to compile and install SWIG"
|
echo "Note : None of the following packages are required for users to compile and install SWIG from the distributed tarball"
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
AC_PROG_YACC
|
AC_PROG_YACC
|
||||||
|
|
@ -128,11 +128,22 @@ AC_SUBST(AR)
|
||||||
AC_CHECK_PROGS(YODL2MAN, yodl2man)
|
AC_CHECK_PROGS(YODL2MAN, yodl2man)
|
||||||
AC_CHECK_PROGS(YODL2HTML, yodl2html)
|
AC_CHECK_PROGS(YODL2HTML, yodl2html)
|
||||||
|
|
||||||
|
if test -n "$YODL2MAN"; then
|
||||||
|
AC_MSG_CHECKING([yodl2man version >= 2.02])
|
||||||
|
yodl_version=`$YODL2MAN --version 2>&1 | grep 'yodl version' | sed 's/.*\([0-9][0-9]*\.[0-9][0-9]*\.*[0-9]*\).*/\1/g'`
|
||||||
|
AX_COMPARE_VERSION([$yodl_version],[ge],[2.02], [AC_MSG_RESULT([yes])], [AC_MSG_RESULT([no - $yodl_version found])])
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test -n "$YODL2HTML"; then
|
||||||
|
AC_MSG_CHECKING([yodl2html version >= 2.02])
|
||||||
|
yodl_version=`$YODL2HTML --version 2>&1 | grep 'yodl version' | sed 's/.*\([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\).*/\1/g'`
|
||||||
|
AX_COMPARE_VERSION([$yodl_version],[ge],[2.02], [AC_MSG_RESULT([yes])], [AC_MSG_RESULT([no - $yodl_version found])])
|
||||||
|
fi
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo "Checking for installed target languages and other information in order to compile and run"
|
echo "Checking for installed target languages and other information in order to compile and run"
|
||||||
echo "the examples and test-suite invoked by 'make check'."
|
echo "the examples and test-suite invoked by 'make check'."
|
||||||
echo "Note : None of the following packages are required for users to compile and install SWIG"
|
echo "Note : None of the following packages are required for users to compile and install SWIG from the distributed tarball"
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
dnl Some test cases require Boost
|
dnl Some test cases require Boost
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue