Changeset - r4009:ad8ed2ae7cac
[Not reviewed]
master
0 1 0
tron - 18 years ago 2006-06-10 20:11:02
tron@openttd.org
(svn r5220) Testing for existence AND using rm -f is tautologous
1 file changed with 1 insertions and 4 deletions:
0 comments (0 inline, 0 general)
configure
Show inline comments
 
@@ -253,28 +253,25 @@ then
 
fi
 

	
 
if ! test -z "$DEBUG_SET"
 
then
 
	if test -z "`echo $PARAM | grep "DEBUG="`"
 
	then
 
		# Someone did --debug, without assigning a value, assume 1
 
		PARAM="$PARAM DEBUG=1"
 
	fi
 
fi
 

	
 
# First remove the Makefile.config, else you can have double entries
 
if test -e "Makefile.config"
 
then
 
	rm -f Makefile.config
 
fi
 
rm -f Makefile.config
 

	
 
echo "make upgradeconf $PARAM" > Makefile.run
 
. Makefile.run
 
rm -f Makefile.run
 

	
 
# Makefile.config currently doesn't support custom CXX, so, we add the line
 
#  ourself!
 

	
 
if ! test -z "$TARGET_CXX"
 
then
 
	echo "CXX=$TARGET_CXX" >> Makefile.config
 
fi
0 comments (0 inline, 0 general)