From 2c7c9341f16c56b2774b62d6ce189d82460882f8 Mon Sep 17 00:00:00 2001 From: ellson Date: Sat, 14 Jul 2007 13:27:09 +0000 Subject: [PATCH] swig-1.3.21 is too old. No -namespace support for C++ --- configure.ac | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 285336c2f..901f562ed 100644 --- a/configure.ac +++ b/configure.ac @@ -416,12 +416,19 @@ if test "x$SWIG" != "x"; then SWIG_VERSION=`$SWIG -version 2>&1 | $GREP Version | cut -d ' ' -f 3` SWIG_VERSION_MAJOR=`echo $SWIG_VERSION | cut -d '.' -f 1` SWIG_VERSION_MINOR=`echo $SWIG_VERSION | cut -d '.' -f 2` + SWIG_VERSION_PATCH=`echo $SWIG_VERSION | cut -d '.' -f 3` if test $SWIG_VERSION_MAJOR -lt 2; then if test $SWIG_VERSION_MAJOR -lt 1; then SWIG= else - if test $SWIG_VERSION_MINOR -lt 3; then - SWIG= + if test $SWIG_VERSION_MINOR -lt 4; then + if test $SWIG_VERSION_MINOR -lt 3; then + SWIG= + else + if test $SWIG_VERSION_PATCH -lt 22 ; then + SWIG= + fi + fi fi fi fi -- 2.40.0