]> granicus.if.org Git - graphviz/commitdiff
swig-1.3.21 is too old. No -namespace support for C++
authorellson <devnull@localhost>
Sat, 14 Jul 2007 13:27:09 +0000 (13:27 +0000)
committerellson <devnull@localhost>
Sat, 14 Jul 2007 13:27:09 +0000 (13:27 +0000)
configure.ac

index 285336c2f3aab0334d3655695da4a294a1bad255..901f562ed40497225db6eedfdcb661bbdd1df209 100644 (file)
@@ -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