]> granicus.if.org Git - postgis/commitdiff
Fixed bug with 7.1 build relating to postgis_estimate.
authorPaul Ramsey <pramsey@cleverelephant.ca>
Wed, 12 Feb 2003 21:03:49 +0000 (21:03 +0000)
committerPaul Ramsey <pramsey@cleverelephant.ca>
Wed, 12 Feb 2003 21:03:49 +0000 (21:03 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@239 b70326c6-7e19-0410-871a-916f4a2858ee

Makefile

index 38003d5fbccf02d865f941a2853422a466de7094..4dc73373403bea8fe262d0775beef3e78708b4bb 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -80,11 +80,13 @@ endif
 #
 ifeq ($(USE_VERSION),71) 
        GIST_SUPPORT=71
+       GIST_ESTIMATE=
 else
        GIST_SUPPORT=72
+       GIST_ESTIMATE=postgis_estimate.o
 endif
 
-OBJS=postgis_debug.o postgis_ops.o postgis_fn.o postgis_inout.o postgis_proj.o postgis_chip.o postgis_transform.o postgis_gist_$(GIST_SUPPORT).o postgis_estimate.o
+OBJS=postgis_debug.o postgis_ops.o postgis_fn.o postgis_inout.o postgis_proj.o postgis_chip.o postgis_transform.o postgis_gist_$(GIST_SUPPORT).o $(GIST_ESTIMATE)
 
 #---------------------------------------------------------------
 # Add libraries that libpq depends (or might depend) on into the