libgeos/libgeos-3.2.1-swig.patch

17 lines
1.2 KiB
Diff

diff -up geos-3.2.1/configure.swig geos-3.2.1/configure
--- geos-3.2.1/configure.swig 2010-07-20 23:28:45.000000000 +0200
+++ geos-3.2.1/configure 2010-07-21 08:36:39.000000000 +0200
@@ -18996,9 +18996,9 @@ echo "${ECHO_T}$swig_version" >&6; }
if test -z "$available_patch" ; then
available_patch=0
fi
- if test $available_major -ne $required_major \
- -o $available_minor -ne $required_minor \
- -o $available_patch -lt $required_patch ; then
+ required_full=`printf %2.2d%2.2d%2.2d%2.2d $required_major $required_minor $required_patch`
+ available_full=`printf %2.2d%2.2d%2.2d%2.2d $available_major $available_minor $available_patch`
+ if test $available_full -lt $required_full; then
{ echo "$as_me:$LINENO: WARNING: SWIG version >= 1.3.28 is required. You have $swig_version. You should look at http://www.swig.org" >&5
echo "$as_me: WARNING: SWIG version >= 1.3.28 is required. You have $swig_version. You should look at http://www.swig.org" >&2;}
SWIG=''