(svn r3866) -Fix: only add CXX if it is given
authortruelight
Tue, 14 Mar 2006 19:15:46 +0000
changeset 3199 6fae74d4c543
parent 3198 57a611a83867
child 3200 7440ead8c22a
(svn r3866) -Fix: only add CXX if it is given
Word of warning: configure _does_ delete your Makefile.config!
configure
--- a/configure	Tue Mar 14 19:12:39 2006 +0000
+++ b/configure	Tue Mar 14 19:15:46 2006 +0000
@@ -217,5 +217,8 @@
 # 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