$NetBSD: patch-configure,v 1.2 2014/12/10 14:50:09 fhajny Exp $

Portability.
--- configure.orig	2014-10-30 10:18:31.000000000 +0000
+++ configure
@@ -19403,7 +19403,7 @@ fi
   if test "x$MYSQL_config_check" != "xskip"; then
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mysql_config" >&5
 $as_echo_n "checking for mysql_config... " >&6; }
-    if test "x$MYSQL_config_check" == "x"; then
+    if test "x$MYSQL_config_check" = "x"; then
       # check if it's in path
       for m in /bin /usr/bin /usr/local/bin /opt/csw/bin; do
         if test -x $m/mysql_config; then
@@ -19412,7 +19412,7 @@ $as_echo_n "checking for mysql_config...
         fi
       done
 
-      if test "x$MYSQL_config" == "x"; then
+      if test "x$MYSQL_config" = "x"; then
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
 $as_echo "not found" >&6; }
       else
@@ -19518,7 +19518,7 @@ fi
 # Check whether --with-pgsql-config was given.
 if test "${with_pgsql_config+set}" = set; then :
   withval=$with_pgsql_config; PGSQL_pg_config="$withval"
-     if test "x$PGSQL_pg_config" == "xyes" || test ! -x "$PGSQL_pg_config"; then
+     if test "x$PGSQL_pg_config" = "xyes" || test ! -x "$PGSQL_pg_config"; then
        as_fn_error $? "--with-pgsql-config must provide a valid path to pg_config executable" "$LINENO" 5
      fi
 
@@ -19568,10 +19568,10 @@ fi
 
 
   if test "x$PGSQL_pg_config" != "x"; then
-    if test "x$PGSQL_lib_check" == "x"; then
+    if test "x$PGSQL_lib_check" = "x"; then
       PGSQL_lib_check=$($PGSQL_pg_config --libdir)
     fi
-    if test "x$PGSQL_inc_check" == "x"; then
+    if test "x$PGSQL_inc_check" = "x"; then
       PGSQL_inc_check=$($PGSQL_pg_config --includedir)
     fi
     PGSQL_CFLAGS=
