[postgis-tickets] r15529 - Change warning from GEOS 3.5.0 (that was too low already since we had functions in 2.3 that need GEOS 3.6), to GEOS 3.7.0.
Regina Obe
lr at pcorp.us
Sat Aug 5 09:39:16 PDT 2017
Author: robe
Date: 2017-08-05 09:39:16 -0700 (Sat, 05 Aug 2017)
New Revision: 15529
Modified:
trunk/configure.ac
Log:
Change warning from GEOS 3.5.0 (that was too low already since we had functions in 2.3 that need GEOS 3.6), to GEOS 3.7.0.
Closes #3802 for PostGIS 2.4.0
Modified: trunk/configure.ac
===================================================================
--- trunk/configure.ac 2017-08-05 16:22:11 UTC (rev 15528)
+++ trunk/configure.ac 2017-08-05 16:39:16 UTC (rev 15529)
@@ -439,9 +439,9 @@
PGSQL_MAJOR_VERSION=`echo $PGSQL_FULL_VERSION | sed 's/[[^0-9]]*\([[0-9]]*\).*/\1/'`
PGSQL_MINOR_VERSION=`$PG_CONFIG --version | sed 's/[[^0-9]]*\([[0-9]]\)\.\([[0-9]]\).*/\2/'`
-
+
if test $PGSQL_MAJOR_VERSION -gt 9; then
- dnl ==================================================================
+ dnl ==================================================================
dnl Starting with PostgreSQL 10, major is the new minor
dnl This is to prevent things like 10.31 ranking higher than 11.0
dnl===================================================================
@@ -949,7 +949,7 @@
dnl Check that we can find the protobuf/protobuf.h header file
CPPFLAGS_SAVE="$CPPFLAGS"
CPPFLAGS="$PROTOBUF_CPPFLAGS"
-AC_CHECK_HEADER([protobuf-c/protobuf-c.h], [HAVE_PROTOBUF=yes], [])
+AC_CHECK_HEADER([protobuf-c/protobuf-c.h], [HAVE_PROTOBUF=yes], [])
CPPFLAGS="$CPPFLAGS_SAVE"
dnl Ensure we can link against libprotobuf-c
@@ -1519,12 +1519,12 @@
AC_MSG_RESULT([ mathml2.dtd: ${MATHML2_DTD}])
AC_MSG_RESULT()
-if test "$GEOS_NUMERIC_VERSION" -lt 30500; then
+if test "$GEOS_NUMERIC_VERSION" -lt 30700; then
AC_MSG_WARN([ --------- GEOS VERSION WARNING ------------ ])
AC_MSG_WARN([ You are building against GEOS ${GEOS_FULL_VERSION} ])
AC_MSG_WARN([ To take advantage of all the features of ])
AC_MSG_WARN([ PostGIS we recommend you build using ])
-AC_MSG_WARN([ GEOS 3.5.0 or higher. You can download ])
+AC_MSG_WARN([ GEOS 3.7.0 or higher. You can download ])
AC_MSG_WARN([ the latest versions from ])
AC_MSG_WARN([ http://trac.osgeo.org/geos ])
AC_MSG_WARN()
More information about the postgis-tickets
mailing list