MacOS X: require SWIG 2.0.12

To fix build of modpython
This commit is contained in:
Alexey Sokolov
2014-02-09 23:46:14 +00:00
parent b7592008af
commit 591b95ed54
+6 -1
View File
@@ -412,7 +412,12 @@ fi
if test "x$PERL" != xno -o "x$PYTHON" != xno; then
old_USESWIG="$USESWIG"
if test "x$USESWIG" != "xno"; then
AC_PROG_SWIG([2.0.8])
if test -z "$ISDARWIN"; then
AC_PROG_SWIG([2.0.8])
else
# Old SWIG doesn't like libc++, see https://github.com/swig/swig/issues/73
AC_PROG_SWIG([2.0.12])
fi
test -z "$SWIG" && USESWIG=no
if test "x$USESWIG" = xno -a "x$old_USESWIG" = yes; then
AC_MSG_ERROR([Could not found appropriate SWIG installation. Check config.log for details.])