From 591b95ed5496ec668943622eb332b9064c8e0896 Mon Sep 17 00:00:00 2001 From: Alexey Sokolov Date: Sun, 9 Feb 2014 23:46:14 +0000 Subject: [PATCH] MacOS X: require SWIG 2.0.12 To fix build of modpython --- configure.ac | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index c7f105c2..b3716c2f 100644 --- a/configure.ac +++ b/configure.ac @@ -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.])