$NetBSD$

POSIX test(1) does not have a "==" operator.

--- configure.orig	2006-10-03 01:46:57.000000000 +0200
+++ configure	2006-10-03 01:47:58.000000000 +0200
@@ -1802,7 +1802,7 @@ fi;
 # Check whether --enable-reuse-font or --disable-reuse-font was given.
 if test "${enable_reuse_font+set}" = set; then
   enableval="$enable_reuse_font"
-  if test x$enableval == "xyes"; then
+  if test x$enableval = "xyes"; then
 cat >>confdefs.h <<\_ACEOF
 #define MODULE_REUSE_LOADED_FONT 1
 _ACEOF
@@ -5844,7 +5844,7 @@ fi
 
 have_shmimage=no
 
-if test "x$CYGWIN" == "xyes"; then
+if test "x$CYGWIN" = "xyes"; then
 	enable_shmimage=no
 fi
 
