Commit 7bab6ba39006c64d999be6d720a7ec8b25c6c359

Ramiro Polla 2009-01-11T20:40:45

Fix compiler check.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/configure b/configure
index 7d44f17..d85a9df 100755
--- a/configure
+++ b/configure
@@ -121,7 +121,7 @@ void function(void)
 EOF
 $cc -shared -o /tmp/test.dll /tmp/test.c
 
-test "$?" = !0 && {
+test "$?" != 0 && {
     echo "$cc could not create shared file with Windows API functions.";
     echo "Make sure your MinGW system is working properly.";
     exit 1;