From: Sandro Santilli Date: Tue, 21 Oct 2003 07:44:39 +0000 (+0000) Subject: Made GEOS_DIR and PROJ_DIR settable via environment vars X-Git-Tag: pgis_0_8_0~63 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=04750ff53202069c2170708244dce67d81f6419a;p=postgis 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 --- 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