From: Paul Ramsey Date: Thu, 10 Apr 2003 16:22:05 +0000 (+0000) Subject: Hack to supply c++ CXX variable if undefined. X-Git-Tag: pgis_0_8_0~119 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=93f794843094269460dc19cfb2668bd2cd65190e;p=postgis Hack to supply c++ CXX variable if undefined. git-svn-id: http://svn.osgeo.org/postgis/trunk@263 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/Makefile b/Makefile index b655f366a..5fe5d17b1 100644 --- a/Makefile +++ b/Makefile @@ -39,6 +39,13 @@ else LPATH := ${PWD} endif +#--------------------------------------------------------------- +# Default missing CXX variable to c++ +# +ifeq ($(CXX),) + CXX = c++ +endif + #--------------------------------------------------------------- # Test the version string and set the USE_VERSION macro # appropriately.