# HG changeset patch # User truelight # Date 1142363746 0 # Node ID c5ac6b7f6ef6ec3b6ce6400c15100d5f37a22c86 # Parent 54e4474378f76e343b85f25bf3b5305cacff577e (svn r3866) -Fix: only add CXX if it is given Word of warning: configure _does_ delete your Makefile.config! diff -r 54e4474378f7 -r c5ac6b7f6ef6 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