$NetBSD: patch-configure,v 1.2 2025/10/04 13:37:08 tnn Exp $

Explicit declaration of SSL_library_init() & zlibVersion()
Portability fix.

--- configure.orig	2017-06-24 06:11:34.000000000 +0000
+++ configure
@@ -15439,7 +15439,7 @@ if test "x$ac_cv_func_remove" = xyes; th
 
 fi
 
-     if test "$ac_cv_func_remove" == yes ; then
+     if test "$ac_cv_func_remove" = yes ; then
 
 $as_echo "#define unlink remove" >>confdefs.h
 
@@ -15538,6 +15538,7 @@ $as_echo "#define HT_ZLIB 1" >>confdefs.
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
+#include <zlib.h>
 int
 main ()
 {
@@ -16420,6 +16421,7 @@ $as_echo "no" >&6; }
     LIBS="$LIBS $withval"
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
+#include <openssl/ssl.h>
 
 int
 main ()
