$NetBSD: patch-configure,v 1.3 2014/10/10 01:13:58 wen Exp $

--- configure.orig	2014-10-09 09:28:47.000000000 +0000
+++ configure
@@ -22498,7 +22498,7 @@ $as_echo "found libecwj2 in $with_ecw/li
 
   # ECW SDK 5.0 style
   elif test -r $with_ecw/lib/x64/release/libNCSEcw.so ; then
-    if test `arch` == "x86_64" ; then
+    if test `arch` = "x86_64" ; then
       ECW_LIBDIR=$with_ecw/lib/x64/release
     else
       ECW_LIBDIR=$with_ecw/lib/x86/release
