]> granicus.if.org Git - postgis/commitdiff
Added USE_STATS fix for index selectivity.
authorPaul Ramsey <pramsey@cleverelephant.ca>
Mon, 6 Jan 2003 18:07:09 +0000 (18:07 +0000)
committerPaul Ramsey <pramsey@cleverelephant.ca>
Mon, 6 Jan 2003 18:07:09 +0000 (18:07 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@230 b70326c6-7e19-0410-871a-916f4a2858ee

Makefile

index 7b271363b6afb507cfcdc6065b0836896dba1537..38003d5fbccf02d865f941a2853422a466de7094 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -68,6 +68,13 @@ else
 endif
 override DLLLIBS := $(BE_DLLLIBS) $(DLLLIBS)
 
+#---------------------------------------------------------------
+# Add index selectivity to C flags
+#
+ifeq ($(USE_STATS),1)
+       override CPPFLAGS += -DUSE_STATS
+endif
 #---------------------------------------------------------------
 # Select proper GiST support C file
 #