]> granicus.if.org Git - postgis/commitdiff
Added switch for pgsql 82 recognition
authorSandro Santilli <strk@keybit.net>
Thu, 24 Nov 2005 16:28:20 +0000 (16:28 +0000)
committerSandro Santilli <strk@keybit.net>
Thu, 24 Nov 2005 16:28:20 +0000 (16:28 +0000)
git-svn-id: http://svn.osgeo.org/postgis/branches/pgis_1_0@2063 b70326c6-7e19-0410-871a-916f4a2858ee

Makefile.config
Makefile.config.in

index aa4a869d3ed36b100a50886a7a9ff9175284cb1c..eed626cf153d150765eebd7232ca2ed49a34c7a3 100644 (file)
@@ -127,7 +127,11 @@ else
                                ifneq ($(findstring 8.0,$(VERSION)),)
                                        USE_VERSION=80
                                else
-                                       USE_VERSION=81
+                                       ifneq ($(findstring 8.1,$(VERSION)),)
+                                               USE_VERSION=81
+                                       else
+                                               USE_VERSION=82
+                                       endif
                                endif
                        endif
                endif
index 46e5f84687bfd7761d06fe6f7759e236975952d7..3e41ec470d163903f36cc78067475b6963ce8eeb 100644 (file)
@@ -122,7 +122,15 @@ else
                        ifneq ($(findstring 7.4,$(VERSION)),)
                                USE_VERSION=74
                        else
-                               USE_VERSION=80
+                               ifneq ($(findstring 8.0,$(VERSION)),)
+                                       USE_VERSION=80
+                               else
+                                       ifneq ($(findstring 8.1,$(VERSION)),)
+                                               USE_VERSION=81
+                                       else
+                                               USE_VERSION=82
+                                       endif
+                               endif
                        endif
                endif
        endif