mirror of
https://github.com/NLnetLabs/unbound.git
synced 2024-09-21 06:37:08 +00:00
No getentropy needed if arc4random available.
git-svn-id: file:///svn/unbound/trunk@3164 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
b9af2fa48d
commit
d5d87b3b13
4
configure
vendored
4
configure
vendored
@ -18157,8 +18157,7 @@ esac
|
||||
;;
|
||||
esac
|
||||
|
||||
fi
|
||||
for ac_func in getentropy
|
||||
for ac_func in getentropy
|
||||
do :
|
||||
ac_fn_c_check_func "$LINENO" "getentropy" "ac_cv_func_getentropy"
|
||||
if test "x$ac_cv_func_getentropy" = xyes; then :
|
||||
@ -18257,6 +18256,7 @@ done
|
||||
fi
|
||||
done
|
||||
|
||||
fi
|
||||
fi
|
||||
LIBOBJ_WITHOUT_CTIME="$LIBOBJS"
|
||||
|
||||
|
@ -976,8 +976,7 @@ if test "$USE_NSS" = "no"; then
|
||||
if test "$ac_cv_func_arc4random" = "no" -o "$ac_cv_func_arc4random_uniform" = "no"; then
|
||||
AC_LIBOBJ(explicit_bzero)
|
||||
AC_LIBOBJ(arc4_lock)
|
||||
fi
|
||||
AC_CHECK_FUNCS([getentropy],,[
|
||||
AC_CHECK_FUNCS([getentropy],,[
|
||||
case `uname` in
|
||||
Darwin)
|
||||
AC_LIBOBJ(getentropy_osx)
|
||||
@ -1000,7 +999,8 @@ if test "$USE_NSS" = "no"; then
|
||||
])
|
||||
;;
|
||||
esac
|
||||
])
|
||||
])
|
||||
fi
|
||||
fi
|
||||
LIBOBJ_WITHOUT_CTIME="$LIBOBJS"
|
||||
AC_SUBST(LIBOBJ_WITHOUT_CTIME)
|
||||
|
Loading…
Reference in New Issue
Block a user