From 23dd9a0ba9feb6f04af80b92be91d11f1920f7c4 Mon Sep 17 00:00:00 2001 From: truelight Date: Tue, 14 Mar 2006 19:15:46 +0000 Subject: (svn r3866) -Fix: only add CXX if it is given Word of warning: configure _does_ delete your Makefile.config! --- configure | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'configure') diff --git a/configure b/configure index 2a36ed455..2f9eaa53f 100755 --- a/configure +++ b/configure @@ -217,5 +217,8 @@ make upgradeconf $PARAM # Makefile.config currently doesn't support custom CXX, so, we add the line # ourself! -echo "CXX=$TARGET_CXX" >> Makefile.config +if ! test -z "$TARGET_CXX" +then + echo "CXX=$TARGET_CXX" >> Makefile.config +fi -- cgit v1.2.3-70-g09d2