$NetBSD: patch-ag,v 1.1 2010/04/13 16:14:03 drochner Exp $

--- configure.orig	2010-04-08 21:24:55.000000000 +0000
+++ configure
@@ -13401,7 +13401,7 @@ done
 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
