69 lines
2.0 KiB
Plaintext
69 lines
2.0 KiB
Plaintext
$NetBSD: patch-SSL_configure,v 1.1 2016/04/03 20:23:26 joerg Exp $
|
|
|
|
--- SSL/configure.orig 2016-04-03 18:48:25.263044871 +0000
|
|
+++ SSL/configure
|
|
@@ -4167,9 +4167,9 @@ _ACEOF
|
|
fi
|
|
|
|
|
|
-{ $as_echo "$as_me:$LINENO: checking for ssl2_clear in -lssl" >&5
|
|
-$as_echo_n "checking for ssl2_clear in -lssl... " >&6; }
|
|
-if test "${ac_cv_lib_ssl_ssl2_clear+set}" = set; then
|
|
+{ $as_echo "$as_me:$LINENO: checking for SSLv23_method in -lssl" >&5
|
|
+$as_echo_n "checking for SSLv23_method in -lssl... " >&6; }
|
|
+if test "${ac_cv_lib_ssl_SSLv23_method+set}" = set; then
|
|
$as_echo_n "(cached) " >&6
|
|
else
|
|
ac_check_lib_save_LIBS=$LIBS
|
|
@@ -4187,11 +4187,11 @@ cat >>conftest.$ac_ext <<_ACEOF
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
#endif
|
|
-char ssl2_clear ();
|
|
+char SSLv23_method ();
|
|
int
|
|
main ()
|
|
{
|
|
-return ssl2_clear ();
|
|
+return SSLv23_method ();
|
|
;
|
|
return 0;
|
|
}
|
|
@@ -4217,12 +4217,12 @@ $as_echo "$ac_try_echo") >&5
|
|
test "$cross_compiling" = yes ||
|
|
$as_test_x conftest$ac_exeext
|
|
}; then
|
|
- ac_cv_lib_ssl_ssl2_clear=yes
|
|
+ ac_cv_lib_ssl_SSLv23_method=yes
|
|
else
|
|
$as_echo "$as_me: failed program was:" >&5
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
- ac_cv_lib_ssl_ssl2_clear=no
|
|
+ ac_cv_lib_ssl_SSLv23_method=no
|
|
fi
|
|
|
|
rm -rf conftest.dSYM
|
|
@@ -4230,9 +4230,9 @@ rm -f core conftest.err conftest.$ac_obj
|
|
conftest$ac_exeext conftest.$ac_ext
|
|
LIBS=$ac_check_lib_save_LIBS
|
|
fi
|
|
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ssl_ssl2_clear" >&5
|
|
-$as_echo "$ac_cv_lib_ssl_ssl2_clear" >&6; }
|
|
-if test "x$ac_cv_lib_ssl_ssl2_clear" = x""yes; then
|
|
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ssl_SSLv23_method" >&5
|
|
+$as_echo "$ac_cv_lib_ssl_SSLv23_method" >&6; }
|
|
+if test "x$ac_cv_lib_ssl_SSLv23_method" = x""yes; then
|
|
cat >>confdefs.h <<_ACEOF
|
|
#define HAVE_LIBSSL 1
|
|
_ACEOF
|
|
@@ -4316,7 +4316,7 @@ _ACEOF
|
|
|
|
fi
|
|
|
|
- if test $ac_cv_lib_ssl_ssl2_clear = yes; then
|
|
+ if test $ac_cv_lib_ssl_SSLv23_method = yes; then
|
|
ssl_ok=yes
|
|
fi
|
|
{ $as_echo "$as_me:$LINENO: checking for CRYPTO_THREADID_set_callback" >&5
|