Changeset - r6077:e1e7793f621e
[Not reviewed]
master
0 1 0
truelight - 18 years ago 2007-02-19 16:10:18
truelight@openttd.org
(svn r8810) [Configure] -Fix: "" variables if you test them, else if they are empty they return lovely errors (tnx to Celester for finding thisone ;))
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
config.lib
Show inline comments
 
@@ -1137,13 +1137,13 @@ check_makedepend() {
 
	rm -f makedepend.tmp makedepend.tmp.bak
 

	
 
	log 1 "checking makedepend... $makedepend"
 
}
 

	
 
detect_os() {
 
	if [ $os = "DETECT" ]; then
 
	if [ "$os" = "DETECT" ]; then
 
		# Detect UNIX, OSX, FREEBSD, MORPHOS, BEOS, SUNOS, CYGWIN, MINGW, OS2, WINCE, and PSP
 

	
 
		# Try first via dumpmachine, then via uname
 
		os=`echo "$host" | tr [:upper:] [:lower:] | awk '
 
					/linux/        { print "UNIX";    exit}
 
					/darwin/       { print "OSX";     exit}
0 comments (0 inline, 0 general)