From: Wouter Wijngaards Date: Tue, 12 Apr 2011 07:01:18 +0000 (+0000) Subject: - bug#378: Fix that configure checks for ldns_get_random presence. X-Git-Tag: release-1.4.11rc1~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de82245d3ea665af25a496bbae9be5b7684c5dcc;p=thirdparty%2Funbound.git - bug#378: Fix that configure checks for ldns_get_random presence. git-svn-id: file:///svn/unbound/trunk@2411 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/configure b/configure index eed4a1ca7..f29137627 100755 --- a/configure +++ b/configure @@ -16569,6 +16569,11 @@ fi ac_fn_c_check_func "$LINENO" "ldns_key_buf2rsa_raw" "ac_cv_func_ldns_key_buf2rsa_raw" if test "x$ac_cv_func_ldns_key_buf2rsa_raw" = x""yes; then : +fi + + ac_fn_c_check_func "$LINENO" "ldns_get_random" "ac_cv_func_ldns_get_random" +if test "x$ac_cv_func_ldns_get_random" = x""yes; then : + fi ac_fn_c_check_func "$LINENO" "ldns_b32_ntop_extended_hex" "ac_cv_func_ldns_b32_ntop_extended_hex" @@ -16631,6 +16636,7 @@ done if test $ac_cv_lib_ldns_ldns_buffer_copy = yes \ -a $ac_cv_func_ldns_key_buf2rsa_raw = yes \ + -a $ac_cv_func_ldns_get_random = yes \ -a $ac_cv_header_ldns_ldns_h = yes \ -a $ac_cv_func_ldns_b32_ntop_extended_hex = yes \ -a $ac_cv_func_ldns_key_EVP_load_gost_id = yes; then diff --git a/configure.ac b/configure.ac index 7076fbff5..7c3e2aff6 100644 --- a/configure.ac +++ b/configure.ac @@ -721,6 +721,7 @@ AC_ARG_WITH(ldns-builtin, AC_HELP_STRING([--with-ldns-builtin], if test "$use_ldns_builtin" = "no"; then AC_CHECK_LIB(ldns, ldns_buffer_copy) AC_CHECK_FUNC(ldns_key_buf2rsa_raw) + AC_CHECK_FUNC(ldns_get_random) AC_CHECK_FUNC(ldns_b32_ntop_extended_hex) if test x$use_gost = xyes; then AC_CHECK_FUNC(ldns_key_EVP_load_gost_id) @@ -751,6 +752,7 @@ if test "$use_ldns_builtin" = "no"; then ]) if test $ac_cv_lib_ldns_ldns_buffer_copy = yes \ -a $ac_cv_func_ldns_key_buf2rsa_raw = yes \ + -a $ac_cv_func_ldns_get_random = yes \ -a $ac_cv_header_ldns_ldns_h = yes \ -a $ac_cv_func_ldns_b32_ntop_extended_hex = yes \ -a $ac_cv_func_ldns_key_EVP_load_gost_id = yes; then diff --git a/doc/Changelog b/doc/Changelog index 887e4e832..9dc02d58e 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,3 +1,6 @@ +12 April 2011: Wouter + - bug#378: Fix that configure checks for ldns_get_random presence. + 8 April 2011: Wouter - iana portlist updated. - queries with CD flag set cause DNSSEC validation, but the answer is