]> granicus.if.org Git - postgis/commitdiff
Fix the PGXS override code for detecting older versions of PostgreSQL - the existing...
authorMark Cave-Ayland <mark.cave-ayland@siriusit.co.uk>
Fri, 12 Mar 2010 13:29:28 +0000 (13:29 +0000)
committerMark Cave-Ayland <mark.cave-ayland@siriusit.co.uk>
Fri, 12 Mar 2010 13:29:28 +0000 (13:29 +0000)
than the new version number of 9.0.

git-svn-id: http://svn.osgeo.org/postgis/trunk@5422 b70326c6-7e19-0410-871a-916f4a2858ee

configure.ac

index 53c91189b148a23faedaf9bc58a167eeff8bde93..a86f5cffd1d24729c9a2d4a0d0acf93d1e9b0174 100644 (file)
@@ -329,10 +329,10 @@ else
        fi
 fi     
 
-dnl Temporary hack until minimum PostgreSQL version is 8.5:
-dnl If PostgreSQL < 8.5 is detected, trigger the inclusion of the new versioned PGXS targets
+dnl Temporary hack until minimum PostgreSQL version is 9.0:
+dnl If PostgreSQL < 9.0 is detected, trigger the inclusion of the new versioned PGXS targets
 PGXSOVERRIDE=0
-if test ! "$PGSQL_MINOR_VERSION" -ge 5; then
+if test ! "$PGSQL_MAJOR_VERSION" -ge 9; then
        PGXSOVERRIDE=1
 fi