From: Paul Ramsey Date: Fri, 17 Oct 2003 16:32:36 +0000 (+0000) Subject: Pass USE_* information to version string, add some 7.4 version passing X-Git-Tag: pgis_0_8_0~65 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b4cc63c30f4e4ee970190088b06d6e44f2e2808d;p=postgis Pass USE_* information to version string, add some 7.4 version passing flags to the compile. git-svn-id: http://svn.osgeo.org/postgis/trunk@317 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/Makefile b/Makefile index 5ef8279e2..84cc8ba3e 100644 --- a/Makefile +++ b/Makefile @@ -56,7 +56,11 @@ else ifneq ($(findstring 7.2,$(VERSION)),) USE_VERSION=72 else - USE_VERSION=73 + ifneq ($(findstring 7.3,$(VERSION)),) + USE_VERSION=73 + else + USE_VERSION=74 + endif endif endif @@ -137,7 +141,7 @@ loaderdumper: # Shared library stuff postgis.sql: postgis_sql_common.sql.in postgis_sql_$(USE_VERSION)_end.sql.in postgis_sql_$(USE_VERSION)_start.sql.in - cat postgis_sql_$(USE_VERSION)_start.sql.in postgis_sql_common.sql.in postgis_sql_$(USE_VERSION)_end.sql.in | sed -e 's:@MODULE_FILENAME@:$(LPATH)/$(shlib):g;s:@POSTGIS_VERSION@:$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION):g' > $@ + cat postgis_sql_$(USE_VERSION)_start.sql.in postgis_sql_common.sql.in postgis_sql_$(USE_VERSION)_end.sql.in | sed -e 's:@MODULE_FILENAME@:$(LPATH)/$(shlib):g;s:@POSTGIS_VERSION@:$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION) USE_GEOS=$(USE_GEOS) USE_PROJ=$(USE_PROJ) USE_STATS=$(USE_STATS):g' > $@ postgis_undef.sql: postgis.sql create_undef.pl perl create_undef.pl $< $(USE_VERSION) > $@