]> granicus.if.org Git - postgis/commitdiff
Added JTS support parameter
authorSandro Santilli <strk@keybit.net>
Mon, 7 Mar 2005 20:44:52 +0000 (20:44 +0000)
committerSandro Santilli <strk@keybit.net>
Mon, 7 Mar 2005 20:44:52 +0000 (20:44 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@1499 b70326c6-7e19-0410-871a-916f4a2858ee

Makefile.config

index 21c94edb687eb27bc5629fd457d233721841acb4..19f54a1aec33b6e4ebac56ebc4513ec298e3f0aa 100644 (file)
@@ -33,6 +33,14 @@ PROJ_DIR ?= /usr/local
 USE_GEOS ?= 0
 GEOS_DIR ?= /usr/local
 
+#
+# Set USE_JTS to 1 if you have libjts installed. 
+#
+USE_JTS ?= 0
+JTS_INCLUDES ?= jts
+JTS_LIBDIR ?= jts
+
+
 #
 # Set USE_STATS to 1 for new GiST statistics collection support
 # Note that this support requires additional columns in 
@@ -79,6 +87,12 @@ LPATH ?= \$$libdir
 # END OF CONFIGURATION
 #---------------------------------------------------------------
 
+# Use JTS instead of GEOS if available
+ifeq ($(USE_JTS),1)
+       USE_GEOS=0
+endif
+
+
 subdir=contrib/postgis
 top_builddir = ${PGSQL_SRC}
 include $(top_builddir)/src/Makefile.global