--- configure.orig      2009-11-03 19:42:13.000000000 +0100
+++ configure
@@ -12149,10 +12149,10 @@ CC="$lt_save_CC"
 VERSION_SCRIPT_FLAGS=
 $(/usr/bin/ld --help 2>&1 | grep -- --version-script >/dev/null) && \
     VERSION_SCRIPT_FLAGS=-Wl,--version-script=
-test "`uname`" == "SunOS" && \
+test "`uname`" = "SunOS" && \
     VERSION_SCRIPT_FLAGS="-Wl,-M -Wl,"
 
- if test -n "$VERSION_SCRIPT_FLAGS"; then
+ if test -z "$VERSION_SCRIPT_FLAGS"; then
   USE_VERSION_SCRIPT_TRUE=
   USE_VERSION_SCRIPT_FALSE='#'
 else

