Commit ab18e4f6605a234d091649f9ea48f400ec5156bb

Ramiro Polla 2009-01-11T21:10:35

Redirect output from tests to /dev/null properly.

diff --git a/configure b/configure
index df2b494..ab4459e 100755
--- a/configure
+++ b/configure
@@ -145,7 +145,7 @@ if enabled msvc; then
         echo "There's no need to create an import lib."
         exit 1
     }
-    lib /? >& /dev/null || {
+    lib /? > /dev/null 2>&1 /dev/null || {
         echo "MSVC's lib command not found."
         echo "Make sure MSVC is installed and its bin folder is in your \$PATH."
         exit 1
@@ -153,7 +153,7 @@ if enabled msvc; then
 fi
 
 if enabled shared; then
-    lib /? >& /dev/null && enable msvc || disable msvc
+    lib /? > /dev/null 2>&1 /dev/null && enable msvc || disable msvc
 fi
 
 echo "# Automatically generated by configure" > config.mak