From: Sandro Santilli Date: Tue, 5 Oct 2004 15:11:07 +0000 (+0000) Subject: Changed default variable setting to a more portable syntax X-Git-Tag: pgis_1_0_0RC1~347 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=315a169fbf62dc3dc9beb5a66bd4f2c3cca1a08f;p=postgis Changed default variable setting to a more portable syntax git-svn-id: http://svn.osgeo.org/postgis/trunk@925 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/Makefile.config b/Makefile.config index 8bfdd671f..9d2bc73d3 100644 --- a/Makefile.config +++ b/Makefile.config @@ -16,9 +16,7 @@ # Download from: http://www.remotesensing.org/proj # USE_PROJ=1 -ifeq (${PROJ_DIR},) - PROJ_DIR=/usr/local -endif +PROJ_DIR ?= /usr/local # # Set USE_GEOS to 1 for GEOS spatial predicate and operator @@ -33,9 +31,7 @@ endif # Download from: http://geos.refractions.net # USE_GEOS=1 -ifeq (${GEOS_DIR},) - GEOS_DIR=/usr/local -endif +GEOS_DIR ?= /usr/local # # Set USE_STATS to 1 for new GiST statistics collection support @@ -51,9 +47,7 @@ USE_STATS=1 # set the PGSQL_SRC either below or in the environment (an absolute path). # # PGSQL_SRC=/usr/src/postgresql -ifeq (${PGSQL_SRC},) - PGSQL_SRC = ${PWD}/../.. -endif +PGSQL_SRC ?= ${PWD}/../.. # # Path to library (to be specified in CREATE FUNCTION queries) @@ -61,9 +55,7 @@ endif # Set LPATH below or in the environment to change it. # # LPATH=/usr/src/postgis -ifeq (${LPATH},) - LPATH := \$$libdir -endif +LPATH ?= \$$libdir #--------------------------------------------------------------- # END OF CONFIGURATION