]> granicus.if.org Git - postgis/commitdiff
Encode dependency on PostgreSQL 9.0 or higher
authorSandro Santilli <strk@keybit.net>
Thu, 6 Sep 2012 09:24:16 +0000 (09:24 +0000)
committerSandro Santilli <strk@keybit.net>
Thu, 6 Sep 2012 09:24:16 +0000 (09:24 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@10235 b70326c6-7e19-0410-871a-916f4a2858ee

README.postgis
configure.ac

index 6e4ff20a884c5d9884f93a0a136655fd5c818153..1f41d59bf61437f2ff8d40292b9d93c834822044 100644 (file)
@@ -34,7 +34,7 @@ Directory structure::
 REQUIREMENTS
 ------------
 
-PostGIS is compatible with PostgreSQL 8.4 and above.
+PostGIS is compatible with PostgreSQL 9.0 and above.
 
 You *must* have the full PostgreSQL - including server headers - installed for
 this to work.
index 92b10b7614074cfc13897e6352ef94131aea40c4..5a581ee7723b3ba916d8f53837ddf85345840a04 100644 (file)
@@ -380,15 +380,9 @@ PGSQL_LIBDIR=`$PGCONFIG --libdir`
 PGSQL_SHAREDIR=`$PGCONFIG --sharedir`
 
 AC_MSG_RESULT([checking PostgreSQL version... $PGSQL_FULL_VERSION])
-dnl Ensure that we are using PostgreSQL >= 8.3
-if test ! "$PGSQL_MAJOR_VERSION" -ge 8; then
-       AC_MSG_ERROR([PostGIS requires PostgreSQL >= 8.3])
-else
-       if test "$PGSQL_MAJOR_VERSION" -eq 8; then
-               if test ! "$PGSQL_MINOR_VERSION" -ge 3; then
-                       AC_MSG_ERROR([PostGIS requires PostgreSQL >= 8.3])
-               fi      
-       fi
+dnl Ensure that we are using PostgreSQL >= 9.0
+if test ! "$PGSQL_MAJOR_VERSION" -ge 9; then
+       AC_MSG_ERROR([PostGIS requires PostgreSQL >= 9.0])
 fi     
 
 dnl Temporary hack until minimum PostgreSQL version is 9.0: