Line 0
Link Here
|
|
|
1 |
--- configure.orig 2014-08-22 19:54:19.000000000 +0200 |
2 |
+++ configure 2015-02-28 10:22:46.822052140 +0100 |
3 |
@@ -13853,6 +13922,59 @@ |
4 |
fi |
5 |
done |
6 |
|
7 |
+ for ac_func in SSL_CTX_use_certificate_chain |
8 |
+do : |
9 |
+ ac_fn_c_check_func "$LINENO" "SSL_CTX_use_certificate_chain" "ac_cv_func_SSL_CTX_use_certificate_chain" |
10 |
+if test "x$ac_cv_func_SSL_CTX_use_certificate_chain" = xyes; then : |
11 |
+ cat >>confdefs.h <<_ACEOF |
12 |
+#define HAVE_SSL_CTX_USE_CERTIFICATE_CHAIN 1 |
13 |
+_ACEOF |
14 |
+ |
15 |
+fi |
16 |
+done |
17 |
+ |
18 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RAND_egd in -lcrypto" >&5 |
19 |
+$as_echo_n "checking for RAND_egd in -lcrypto... " >&6; } |
20 |
+if ${ac_cv_lib_crypto_RAND_egd+:} false; then : |
21 |
+ $as_echo_n "(cached) " >&6 |
22 |
+else |
23 |
+ ac_check_lib_save_LIBS=$LIBS |
24 |
+LIBS="-lcrypto $LIBS" |
25 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
26 |
+/* end confdefs.h. */ |
27 |
+ |
28 |
+/* Override any GCC internal prototype to avoid an error. |
29 |
+ Use char because int might match the return type of a GCC |
30 |
+ builtin and then its argument prototype would still apply. */ |
31 |
+#ifdef __cplusplus |
32 |
+extern "C" |
33 |
+#endif |
34 |
+char RAND_egd (); |
35 |
+int |
36 |
+main () |
37 |
+{ |
38 |
+return RAND_egd (); |
39 |
+ ; |
40 |
+ return 0; |
41 |
+} |
42 |
+_ACEOF |
43 |
+if ac_fn_c_try_link "$LINENO"; then : |
44 |
+ ac_cv_lib_crypto_RAND_egd=yes |
45 |
+else |
46 |
+ ac_cv_lib_crypto_RAND_egd=no |
47 |
+fi |
48 |
+rm -f core conftest.err conftest.$ac_objext \ |
49 |
+ conftest$ac_exeext conftest.$ac_ext |
50 |
+LIBS=$ac_check_lib_save_LIBS |
51 |
+fi |
52 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RAND_egd" >&5 |
53 |
+$as_echo "$ac_cv_lib_crypto_RAND_egd" >&6; } |
54 |
+if test "x$ac_cv_lib_crypto_RAND_egd" = xyes; then : |
55 |
+ |
56 |
+$as_echo "#define HAVE_SSL_RAND_EGD 1" >>confdefs.h |
57 |
+ |
58 |
+fi |
59 |
+ |
60 |
else |
61 |
for ac_func in SSLC_library_version SSL_CTX_new |
62 |
do : |