From: Sandro Santilli Date: Thu, 6 Sep 2012 09:24:16 +0000 (+0000) Subject: Encode dependency on PostgreSQL 9.0 or higher X-Git-Tag: 2.1.0beta2~674 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8176493032229cb5687d8fac087ee4d5fa809231;p=postgis Encode dependency on PostgreSQL 9.0 or higher git-svn-id: http://svn.osgeo.org/postgis/trunk@10235 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/README.postgis b/README.postgis index 6e4ff20a8..1f41d59bf 100644 --- a/README.postgis +++ b/README.postgis @@ -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. diff --git a/configure.ac b/configure.ac index 92b10b761..5a581ee77 100644 --- a/configure.ac +++ b/configure.ac @@ -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: