# HG changeset patch # User truelight # Date 2007-02-19 16:10:18 # Node ID e1e7793f621e66ce150e707daab699667397e20c # Parent f971fb857f3b305da4903734d159d46ba4f24494 (svn r8810) [Configure] -Fix: "" variables if you test them, else if they are empty they return lovely errors (tnx to Celester for finding thisone ;)) diff --git a/config.lib b/config.lib --- a/config.lib +++ b/config.lib @@ -1140,7 +1140,7 @@ check_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