$NetBSD$

Fix portability issues.

--- configure.orig	2017-04-30 00:54:20.670300000 +0000
+++ configure
@@ -36856,7 +36856,7 @@ if test "$with_ldap" = "yes"; then
    OPENLDAP_LIBS="${OPENLDAP_LIBS} -lldap"
 fi
 
- if test "x$with_ldap" == "xyes"; then
+ if test "x$with_ldap" = "xyes"; then
   HAVE_LDAP_TRUE=
   HAVE_LDAP_FALSE='#'
 else
