Lines 1-8
Link Here
|
1 |
--- configure.orig 2011-04-19 11:36:37.000000000 -0400 |
1 |
--- configure.orig 2013-09-21 22:40:39 UTC |
2 |
+++ configure 2011-10-18 13:48:27.000000000 -0400 |
2 |
+++ configure |
3 |
@@ -1762,6 +1762,8 @@ |
3 |
@@ -1814,6 +1814,8 @@ else |
4 |
cat > conftest.$ac_ext <<EOF |
4 |
cat > conftest.$ac_ext <<EOF |
5 |
#line 1764 "configure" |
5 |
#line 1814 "configure" |
6 |
#include "confdefs.h" |
6 |
#include "confdefs.h" |
7 |
+#include <sys/types.h> |
7 |
+#include <sys/types.h> |
8 |
+#include <netinet/in.h> |
8 |
+#include <netinet/in.h> |
Lines 9-11
Link Here
|
9 |
#include <$ac_hdr> |
9 |
#include <$ac_hdr> |
10 |
EOF |
10 |
EOF |
11 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|
|
12 |
@@ -11001,6 +11003,48 @@ fi |
13 |
#endif |
14 |
cf_have_ssl=$cf_result |
15 |
|
16 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for RAND_egd in -lcrypto" >&5 |
17 |
+$as_echo_n "checking for RAND_egd in -lcrypto... " >&6; } |
18 |
+if ${ac_cv_lib_crypto_RAND_egd+:} false; then : |
19 |
+ $as_echo_n "(cached) " >&6 |
20 |
+else |
21 |
+ ac_check_lib_save_LIBS=$LIBS |
22 |
+LIBS="-lcrypto $LIBS" |
23 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
24 |
+/* end confdefs.h. */ |
25 |
+ |
26 |
+/* Override any GCC internal prototype to avoid an error. |
27 |
+ Use char because int might match the return type of a GCC |
28 |
+ builtin and then its argument prototype would still apply. */ |
29 |
+#ifdef __cplusplus |
30 |
+extern "C" |
31 |
+#endif |
32 |
+char RAND_egd (); |
33 |
+int |
34 |
+main () |
35 |
+{ |
36 |
+return RAND_egd (); |
37 |
+ ; |
38 |
+ return 0; |
39 |
+} |
40 |
+_ACEOF |
41 |
+if ac_fn_c_try_link "$LINENO"; then : |
42 |
+ ac_cv_lib_crypto_RAND_egd=yes |
43 |
+else |
44 |
+ ac_cv_lib_crypto_RAND_egd=no |
45 |
+fi |
46 |
+rm -f core conftest.err conftest.$ac_objext \ |
47 |
+ conftest$ac_exeext conftest.$ac_ext |
48 |
+LIBS=$ac_check_lib_save_LIBS |
49 |
+fi |
50 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RAND_egd" >&5 |
51 |
+$as_echo "$ac_cv_lib_crypto_RAND_egd" >&6; } |
52 |
+if test "x$ac_cv_lib_crypto_RAND_egd" = xyes; then : |
53 |
+ |
54 |
+$as_echo "#define HAVE_RAND_EGD 1" >>confdefs.h |
55 |
+ |
56 |
+fi |
57 |
+ |
58 |
# Check whether --with-zlib or --without-zlib was given. |
59 |
if test "${with_zlib+set}" = set; then |
60 |
withval="$with_zlib" |