* StreamWriter.cs: Removed duplicate argument checks from .ctor taking
[mono.git] / autogen.sh
index e9127cc2a49a0c1095c6f9615b8fa0caadd6f22a..53f9abe90dfd182c6d9cfaf2fe1a46acb3dd51fd 100755 (executable)
@@ -31,8 +31,8 @@ fi
 }
 
 if [ -z "$LIBTOOL" ]; then
-  LIBTOOL=`which glibtool` 
-  if [ ! -x $LIBTOOL ]; then
+  LIBTOOL=`which glibtool 2>/dev/null
+  if [ ! -x "$LIBTOOL" ]; then
     LIBTOOL=`which libtool`
   fi
 fi
@@ -82,7 +82,7 @@ if test "$DIE" -eq 1; then
   exit 1
 fi
 
-if test -z "$*"; then
+if test x$NOCONFIGURE = x && test -z "$*"; then
   echo "**Warning**: I am going to run \`configure' with no arguments."
   echo "If you wish to pass any to it, please specify them on the"
   echo \`$0\'" command line."