diff options
-rwxr-xr-x | configure | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -145,7 +145,7 @@ if enabled msvc; then | |||
145 | echo "There's no need to create an import lib." | 145 | echo "There's no need to create an import lib." |
146 | exit 1 | 146 | exit 1 |
147 | } | 147 | } |
148 | lib /? >& /dev/null || { | 148 | lib /? > /dev/null 2>&1 /dev/null || { |
149 | echo "MSVC's lib command not found." | 149 | echo "MSVC's lib command not found." |
150 | echo "Make sure MSVC is installed and its bin folder is in your \$PATH." | 150 | echo "Make sure MSVC is installed and its bin folder is in your \$PATH." |
151 | exit 1 | 151 | exit 1 |
@@ -153,7 +153,7 @@ if enabled msvc; then | |||
153 | fi | 153 | fi |
154 | 154 | ||
155 | if enabled shared; then | 155 | if enabled shared; then |
156 | lib /? >& /dev/null && enable msvc || disable msvc | 156 | lib /? > /dev/null 2>&1 /dev/null && enable msvc || disable msvc |
157 | fi | 157 | fi |
158 | 158 | ||
159 | echo "# Automatically generated by configure" > config.mak | 159 | echo "# Automatically generated by configure" > config.mak |