(svn r8810) [Configure] -Fix: "" variables if you test them, else if they are empty they return lovely errors (tnx to Celester for finding thisone ;))

This commit is contained in:
truelight 2007-02-19 16:10:18 +00:00
parent 168a7876a0
commit f5cffcc1fc

View File

@ -1140,7 +1140,7 @@ check_makedepend() {
} }
detect_os() { detect_os() {
if [ $os = "DETECT" ]; then if [ "$os" = "DETECT" ]; then
# Detect UNIX, OSX, FREEBSD, MORPHOS, BEOS, SUNOS, CYGWIN, MINGW, OS2, WINCE, and PSP # Detect UNIX, OSX, FREEBSD, MORPHOS, BEOS, SUNOS, CYGWIN, MINGW, OS2, WINCE, and PSP
# Try first via dumpmachine, then via uname # Try first via dumpmachine, then via uname