[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] Check swig version >= 1.3.12

From: Greg Stein <gstein_at_lyra.org>
Date: 2002-07-18 20:29:55 CEST

Excellent patch. I like the new algorithm using "case".

Applied!

thx,
-g

On Thu, Jul 18, 2002 at 12:52:03PM -0500, Scott Lamb wrote:
> 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

-- 
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jul 18 20:27:59 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.