Require SWIG version 1.3.12.
* subversion/bindings/swig/README: bump version from 1.3.10 to 1.3.12.
* configure.in: enforce requirement.
Index: ./configure.in
===================================================================
--- ./configure.in
+++ ./configure.in	Thu Jul 18 12:46:01 2002
@@ -294,7 +294,19 @@
 dnl try to find "swig" to build the SWIG bindings
 AC_PATH_PROG(SWIG, swig, none)
 if test "$SWIG" != "none"; then
-  if test "$PYTHON" != "none"; then
+  AC_MSG_CHECKING([swig version])
+  SWIG_VERSION="`$SWIG -version 2>&1 | sed -ne 's/^.*Version \(.*\)$/\1/p'`"
+  AC_MSG_RESULT([$SWIG_VERSION])
+  case $SWIG_VERSION in
+      [1.3.1[23]*])
+        SWIG_SUITABLE=yes
+        ;;
+      *)
+        SWIG_SUITABLE=no
+        AC_MSG_WARN([swig bindings require 1.3.12.])
+        ;;
+  esac
+  if test "$PYTHON" != "none" -a "$SWIG_SUITABLE" = "yes"; then
     SWIG_BUILD_RULES="$SWIG_BUILD_RULES swig-py-lib"
     SWIG_INSTALL_RULES="$SWIG_INSTALL_RULES install-swig-py-lib"
 
Index: subversion/bindings/swig/README
===================================================================
--- subversion/bindings/swig/README
+++ subversion/bindings/swig/README	Thu Jul 18 12:27:32 2002
@@ -43,8 +43,8 @@
 (4) limited symbols/functionality exported via the _util module
 
 
-NOTE: the bindings code is being developed using SWIG 1.3.10. Earlier
-versions of SWIG will simple *not* work.
+NOTE: the bindings code is being developed using SWIG 1.3.12. Earlier
+versions of SWIG will simply *not* work.
 
 
 
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jul 18 19:52:10 2002