Line 0
Link Here
|
|
|
1 |
--- configure.orig 2018-10-09 13:13:03 UTC |
2 |
+++ configure |
3 |
@@ -4580,9 +4580,9 @@ else |
4 |
as_fn_error $? "OpenSSL not found" "$LINENO" 5 |
5 |
fi |
6 |
|
7 |
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_library_init in -lssl" >&5 |
8 |
-$as_echo_n "checking for SSL_library_init in -lssl... " >&6; } |
9 |
-if ${ac_cv_lib_ssl_SSL_library_init+:} false; then : |
10 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_CTX_new in -lssl" >&5 |
11 |
+$as_echo_n "checking for SSL_CTX_new in -lssl... " >&6; } |
12 |
+if ${ac_cv_lib_ssl_SSL_CTX_new+:} false; then : |
13 |
$as_echo_n "(cached) " >&6 |
14 |
else |
15 |
ac_check_lib_save_LIBS=$LIBS |
16 |
@@ -4596,27 +4596,27 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
17 |
#ifdef __cplusplus |
18 |
extern "C" |
19 |
#endif |
20 |
-char SSL_library_init (); |
21 |
+char SSL_CTX_new (); |
22 |
int |
23 |
main () |
24 |
{ |
25 |
-return SSL_library_init (); |
26 |
+return SSL_CTX_new (); |
27 |
; |
28 |
return 0; |
29 |
} |
30 |
_ACEOF |
31 |
if ac_fn_c_try_link "$LINENO"; then : |
32 |
- ac_cv_lib_ssl_SSL_library_init=yes |
33 |
+ ac_cv_lib_ssl_SSL_CTX_new=yes |
34 |
else |
35 |
- ac_cv_lib_ssl_SSL_library_init=no |
36 |
+ ac_cv_lib_ssl_SSL_CTX_new=no |
37 |
fi |
38 |
rm -f core conftest.err conftest.$ac_objext \ |
39 |
conftest$ac_exeext conftest.$ac_ext |
40 |
LIBS=$ac_check_lib_save_LIBS |
41 |
fi |
42 |
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_library_init" >&5 |
43 |
-$as_echo "$ac_cv_lib_ssl_SSL_library_init" >&6; } |
44 |
-if test "x$ac_cv_lib_ssl_SSL_library_init" = xyes; then : |
45 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_CTX_new" >&5 |
46 |
+$as_echo "$ac_cv_lib_ssl_SSL_CTX_new" >&6; } |
47 |
+if test "x$ac_cv_lib_ssl_SSL_CTX_new" = xyes; then : |
48 |
cat >>confdefs.h <<_ACEOF |
49 |
#define HAVE_LIBSSL 1 |
50 |
_ACEOF |