From 04750ff53202069c2170708244dce67d81f6419a Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Tue, 21 Oct 2003 07:44:39 +0000 Subject: [PATCH] Made GEOS_DIR and PROJ_DIR settable via environment vars git-svn-id: http://svn.osgeo.org/postgis/trunk@319 b70326c6-7e19-0410-871a-916f4a2858ee --- Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 84cc8ba3e..317c28ffe 100644 --- a/Makefile +++ b/Makefile @@ -4,14 +4,18 @@ # Set USE_PROJ to 1 for Proj4 reprojection support # USE_PROJ=1 -PROJ_DIR=/usr/local +ifeq (${PROJ_DIR},) + PROJ_DIR=/usr/local +endif #--------------------------------------------------------------- # Set USE_GEOS to 1 for GEOS spatial predicate and operator # support # USE_GEOS=1 -GEOS_DIR=/usr/local +ifeq (${GEOS_DIR},) + GEOS_DIR=/usr/local +endif #--------------------------------------------------------------- # Set USE_STATS to 1 for new GiST statistics collection support -- 2.40.0