Fixed if-test in autogen.sh so it works on Solaris. Just needed to surround "$NOCHEC...
authorBrian Cameron <brian.cameron@sun.com>
Thu, 1 May 2003 13:11:08 +0000 (13:11 +0000)
committerBrian Cameron <brian.cameron@sun.com>
Thu, 1 May 2003 13:11:08 +0000 (13:11 +0000)
Original commit message from CVS:
Fixed if-test in autogen.sh so it works on Solaris.  Just needed to surround
"$NOCHECK" in quotes.

autogen.sh

index f45a11d..1dce7da 100755 (executable)
@@ -27,7 +27,7 @@ CONFIGURE_DEF_OPT='--enable-maintainer-mode --enable-plugin-builddir --enable-fa
 autogen_options $@
 
 echo -n "+ check for build tools"
-if test ! -z $NOCHECK; then echo ": skipped version checks"; else  echo; fi
+if test ! -z "$NOCHECK"; then echo ": skipped version checks"; else  echo; fi
 version_check "autoconf" "$AUTOCONF autoconf autoconf-2.54 autoconf-2.53 autoconf-2.52" \
               "ftp://ftp.gnu.org/pub/gnu/autoconf/" 2 52 || DIE=1
 version_check "automake" "$AUTOMAKE automake automake-1.7 automake-1.6 automake-1.5" \