bump version to 1.3.30

fix chicken detection when not installed


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9075 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2006-05-03 21:01:16 +00:00
commit dfdd4c8060

View file

@ -2,7 +2,7 @@ dnl Process this file with autoconf to produce a configure script.
dnl The macros which aren't shipped with the autotools are stored in the
dnl Tools/config directory in .m4 files.
AC_INIT([swig],[1.3.29],[http://www.swig.org])
AC_INIT([swig],[1.3.30],[http://www.swig.org])
AC_PREREQ(2.58)
AC_CONFIG_SRCDIR([Source/Swig/swig.h])
AC_CONFIG_AUX_DIR([Tools/config])
@ -1373,15 +1373,16 @@ fi
AC_ARG_WITH(chickencsc,[ --with-chickencsc=path Set location of csc executable],[ CHICKEN_CSC="$withval"], [CHICKEN_CSC=])
if test -z "$CHICKEN_CSC"; then
AC_CHECK_PROGS(TEMP_CSC, csc)
# Both mono (C#) and chicken have an executable called csc, so check that this csc is really the chicken one
AC_MSG_CHECKING(if csc is the chicken compiler)
VER_OUTPUT=`$TEMP_CSC -version | grep chicken`
if test -n "$VER_OUTPUT"; then
CHICKEN_CSC="$TEMP_CSC"
AC_MSG_RESULT(yes)
else
AC_MSG_RESULT(no)
AC_CHECK_PROGS(CHICKEN_CSC, csc)
# Both the Microsoft C# compiler and chicken have an executable called csc, so check that this csc is really the chicken one
if test -n "$CHICKEN_CSC" ; then
AC_MSG_CHECKING(whether csc is the chicken compiler)
$CHICKEN_CSC -version 2>/dev/null | grep "chicken" > /dev/null || CHICKEN_CSC=""
if test -z "$CHICKEN_CSC"; then
AC_MSG_RESULT(no)
else
AC_MSG_RESULT(yes)
fi
fi
fi