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