From: Sandro Santilli Date: Thu, 6 Sep 2012 09:30:53 +0000 (+0000) Subject: Encode dependency on GEOS >= 3.3.0 X-Git-Tag: 2.1.0beta2~672 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=03cd2b346b43abf27ae54d37b1e7a10e2e1c8519;p=postgis Encode dependency on GEOS >= 3.3.0 git-svn-id: http://svn.osgeo.org/postgis/trunk@10237 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/README.postgis b/README.postgis index 1f41d59bf..c403dc351 100644 --- a/README.postgis +++ b/README.postgis @@ -46,12 +46,11 @@ this to work. http://trac.osgeo.org/proj/ -* GEOS (Required, Version 3.2.2 or higher): +* GEOS (Required, Version 3.3.0 or higher): The GEOS library provides support for exact topological tests such as ST_Touches(), ST_Contains(), ST_Disjoint() and spatial operations such as - ST_Intersection(), ST_Union() and ST_Buffer(). GEOS 3.3.2 or higher is - recommended. + ST_Intersection(), ST_Union() and ST_Buffer(). GEOS 3.4+ is recommended. http://trac.osgeo.org/geos/ diff --git a/configure.ac b/configure.ac index 92df88f10..322e50e35 100644 --- a/configure.ac +++ b/configure.ac @@ -569,10 +569,10 @@ GEOS_FULL_VERSION=`$GEOSCONFIG --version` POSTGIS_GEOS_VERSION="$GEOS_MAJOR_VERSION$GEOS_MINOR_VERSION" GEOS_NUMERIC_VERSION="$GEOS_MAJOR_VERSION$GEOS_MINOR_VERSION$GEOS_PATCH_VERSION" -dnl Ensure that we are using GEOS >= 3.1.0 +dnl Ensure that we are using GEOS >= 3.3.0 AC_MSG_RESULT([checking GEOS version... $GEOS_FULL_VERSION]) -if test ! "$GEOS_NUMERIC_VERSION" -ge 311; then - AC_MSG_ERROR([PostGIS requires GEOS >= 3.1.1]) +if test ! "$GEOS_NUMERIC_VERSION" -ge 330; then + AC_MSG_ERROR([PostGIS requires GEOS >= 3.3.0]) fi dnl Extract the linker and include flags