]> granicus.if.org Git - postgis/commitdiff
Made GEOS_DIR and PROJ_DIR settable via environment vars
authorSandro Santilli <strk@keybit.net>
Tue, 21 Oct 2003 07:44:39 +0000 (07:44 +0000)
committerSandro Santilli <strk@keybit.net>
Tue, 21 Oct 2003 07:44:39 +0000 (07:44 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@319 b70326c6-7e19-0410-871a-916f4a2858ee

Makefile

index 84cc8ba3e6742e6dd7c84effb10e863fd51f75df..317c28ffea5011676478c89c882a6afcee2ac756 100644 (file)
--- 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