]>
Commit | Line | Data |
---|---|---|
34c8e030 JB |
1 | --- gdal-1.2.6/configure.in.orig 2005-01-16 03:01:31.252567000 +0100 |
2 | +++ gdal-1.2.6/configure.in 2005-01-16 03:09:32.131462448 +0100 | |
14120dca JB |
3 | @@ -1388,7 +1388,8 @@ |
4 | if test "$GEOS_CONFIG" != "no" ; then | |
5 | ||
6 | VERSION=`$GEOS_CONFIG --version` | |
7 | - if test "${VERSION:0:1}" -lt 2 ; then | |
8 | + MAJORVER=`echo $VERSION | cut -d . -f 1` | |
9 | + if test $MAJORVER -lt 2 ; then | |
10 | AC_MSG_ERROR([geos-config reports version $VERSION, need at least 2.0 or configure --without-geos]) | |
11 | fi | |
12 |