$NetBSD: patch-ab,v 1.2 2007/11/29 17:28:24 wiz Exp $

--- configure.orig	2007-11-29 17:22:02.000000000 +0000
+++ configure
@@ -6392,7 +6392,7 @@ echo $ECHO_N "checking for target specif
 # Check whether --enable-target-opt was given.
 if test "${enable_target_opt+set}" = set; then
   enableval=$enable_target_opt;
-  if test "$I386" == "yes" && test "$enableval" != "no" ; then
+  if test "$I386" = "yes" && test "$enableval" != "no" ; then
     TARGET_OPT=yes
     { echo "$as_me:$LINENO: result: enabled" >&5
 echo "${ECHO_T}enabled" >&6; }
@@ -6404,7 +6404,7 @@ echo "${ECHO_T}disabled" >&6; }
 
 else
 
-  if test "$I386" == "yes" ; then
+  if test "$I386" = "yes" ; then
     TARGET_OPT=yes
     { echo "$as_me:$LINENO: result: enabled" >&5
 echo "${ECHO_T}enabled" >&6; }
