- bug#378: Fix that configure checks for ldns_get_random presence.

git-svn-id: file:///svn/unbound/trunk@2411 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2011-04-12 07:01:18 +00:00
parent 3922eed584
commit de82245d3e
3 changed files with 11 additions and 0 deletions

6
configure vendored
View file

@ -16569,6 +16569,11 @@ fi
ac_fn_c_check_func "$LINENO" "ldns_key_buf2rsa_raw" "ac_cv_func_ldns_key_buf2rsa_raw" 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 : 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 fi
ac_fn_c_check_func "$LINENO" "ldns_b32_ntop_extended_hex" "ac_cv_func_ldns_b32_ntop_extended_hex" 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 \ if test $ac_cv_lib_ldns_ldns_buffer_copy = yes \
-a $ac_cv_func_ldns_key_buf2rsa_raw = 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_header_ldns_ldns_h = yes \
-a $ac_cv_func_ldns_b32_ntop_extended_hex = yes \ -a $ac_cv_func_ldns_b32_ntop_extended_hex = yes \
-a $ac_cv_func_ldns_key_EVP_load_gost_id = yes; then -a $ac_cv_func_ldns_key_EVP_load_gost_id = yes; then

View file

@ -721,6 +721,7 @@ AC_ARG_WITH(ldns-builtin, AC_HELP_STRING([--with-ldns-builtin],
if test "$use_ldns_builtin" = "no"; then if test "$use_ldns_builtin" = "no"; then
AC_CHECK_LIB(ldns, ldns_buffer_copy) AC_CHECK_LIB(ldns, ldns_buffer_copy)
AC_CHECK_FUNC(ldns_key_buf2rsa_raw) AC_CHECK_FUNC(ldns_key_buf2rsa_raw)
AC_CHECK_FUNC(ldns_get_random)
AC_CHECK_FUNC(ldns_b32_ntop_extended_hex) AC_CHECK_FUNC(ldns_b32_ntop_extended_hex)
if test x$use_gost = xyes; then if test x$use_gost = xyes; then
AC_CHECK_FUNC(ldns_key_EVP_load_gost_id) 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 \ if test $ac_cv_lib_ldns_ldns_buffer_copy = yes \
-a $ac_cv_func_ldns_key_buf2rsa_raw = 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_header_ldns_ldns_h = yes \
-a $ac_cv_func_ldns_b32_ntop_extended_hex = yes \ -a $ac_cv_func_ldns_b32_ntop_extended_hex = yes \
-a $ac_cv_func_ldns_key_EVP_load_gost_id = yes; then -a $ac_cv_func_ldns_key_EVP_load_gost_id = yes; then

View file

@ -1,3 +1,6 @@
12 April 2011: Wouter
- bug#378: Fix that configure checks for ldns_get_random presence.
8 April 2011: Wouter 8 April 2011: Wouter
- iana portlist updated. - iana portlist updated.
- queries with CD flag set cause DNSSEC validation, but the answer is - queries with CD flag set cause DNSSEC validation, but the answer is