# HG changeset patch # User truelight # Date 2006-03-14 19:15:46 # Node ID 74c8f78e82e24e5a01c5480b2137b4f15a1fc34b # Parent 2fd76a5c7026d5177a4568203ba4329364df30f1 (svn r3866) -Fix: only add CXX if it is given Word of warning: configure _does_ delete your Makefile.config! diff --git a/configure b/configure --- 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