$NetBSD: patch-configure,v 1.3 2017/01/10 18:54:15 fhajny Exp $

Portability.

--- configure.orig	2016-12-21 15:00:32.000000000 +0000
+++ configure
@@ -16463,7 +16463,7 @@ $as_echo_n "checking for JAVA_VERSION...
   JAVA_HOME_CHECKER="/usr/libexec/java_home"
 
   if test "x$JAVAC_BIN" != "x"; then
-    if test "x$DONT_RESOLVE_JAVA_BIN_LINKS" == "x"; then
+    if test "x$DONT_RESOLVE_JAVA_BIN_LINKS" = "x"; then
       JAVAC_BIN=`
   READLINK_TARGET=$JAVAC_BIN
   cd $(dirname "$READLINK_TARGET")
@@ -16570,7 +16570,7 @@ $as_echo_n "checking for JAVA_VERSION...
   JAVA_HOME_CHECKER="/usr/libexec/java_home"
 
   if test "x$JAVAC_BIN" != "x"; then
-    if test "x$DONT_RESOLVE_JAVA_BIN_LINKS" == "x"; then
+    if test "x$DONT_RESOLVE_JAVA_BIN_LINKS" = "x"; then
       JAVAC_BIN=`
   READLINK_TARGET=$JAVAC_BIN
   cd $(dirname "$READLINK_TARGET")
