From 24f5d2d918d8407f09c566d5d5cd3c44e7965b08 Mon Sep 17 00:00:00 2001 From: Sandro Santilli <strk@keybit.net> Date: Mon, 7 Mar 2005 20:44:52 +0000 Subject: [PATCH] Added JTS support parameter git-svn-id: http://svn.osgeo.org/postgis/trunk@1499 b70326c6-7e19-0410-871a-916f4a2858ee --- Makefile.config | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Makefile.config b/Makefile.config index 21c94edb6..19f54a1ae 100644 --- a/Makefile.config +++ b/Makefile.config @@ -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 -- 2.40.0