mirror of
https://github.com/NLnetLabs/unbound.git
synced 2024-09-21 14:47:09 +00:00
arc4random_uniform does not need the support functions, and comments.
git-svn-id: file:///svn/unbound/trunk@3177 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
695f4ce1e9
commit
f756509e27
9
configure
vendored
9
configure
vendored
@ -18144,7 +18144,7 @@ esac
|
||||
fi
|
||||
|
||||
|
||||
if test "$ac_cv_func_arc4random" = "no" -o "$ac_cv_func_arc4random_uniform" = "no"; then
|
||||
if test "$ac_cv_func_arc4random" = "no"; then
|
||||
case " $LIBOBJS " in
|
||||
*" explicit_bzero.$ac_objext "* ) ;;
|
||||
*) LIBOBJS="$LIBOBJS explicit_bzero.$ac_objext"
|
||||
@ -18167,14 +18167,14 @@ _ACEOF
|
||||
|
||||
else
|
||||
|
||||
if test "$USE_WINSOCK" = 1; then
|
||||
if test "$USE_WINSOCK" = 1; then
|
||||
case " $LIBOBJS " in
|
||||
*" getentropy_win.$ac_objext "* ) ;;
|
||||
*) LIBOBJS="$LIBOBJS getentropy_win.$ac_objext"
|
||||
;;
|
||||
esac
|
||||
|
||||
else
|
||||
else
|
||||
case `uname` in
|
||||
Darwin)
|
||||
case " $LIBOBJS " in
|
||||
@ -18228,6 +18228,7 @@ fi
|
||||
done
|
||||
|
||||
if test "$ac_cv_header_sys_sha2_h" = "yes"; then
|
||||
# this lib needed for sha2 on solaris
|
||||
LIBS="$LIBS -lmd"
|
||||
fi
|
||||
;;
|
||||
@ -18319,7 +18320,7 @@ fi
|
||||
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
fi
|
||||
|
||||
fi
|
||||
done
|
||||
|
@ -973,13 +973,13 @@ AC_SUBST(LIBOBJ_WITHOUT_CTIMEARC4)
|
||||
if test "$USE_NSS" = "no"; then
|
||||
AC_REPLACE_FUNCS(arc4random)
|
||||
AC_REPLACE_FUNCS(arc4random_uniform)
|
||||
if test "$ac_cv_func_arc4random" = "no" -o "$ac_cv_func_arc4random_uniform" = "no"; then
|
||||
if test "$ac_cv_func_arc4random" = "no"; then
|
||||
AC_LIBOBJ(explicit_bzero)
|
||||
AC_LIBOBJ(arc4_lock)
|
||||
AC_CHECK_FUNCS([getentropy],,[
|
||||
if test "$USE_WINSOCK" = 1; then
|
||||
if test "$USE_WINSOCK" = 1; then
|
||||
AC_LIBOBJ(getentropy_win)
|
||||
else
|
||||
else
|
||||
case `uname` in
|
||||
Darwin)
|
||||
AC_LIBOBJ(getentropy_osx)
|
||||
@ -992,6 +992,7 @@ if test "$USE_NSS" = "no"; then
|
||||
])
|
||||
], [AC_INCLUDES_DEFAULT])
|
||||
if test "$ac_cv_header_sys_sha2_h" = "yes"; then
|
||||
# this lib needed for sha2 on solaris
|
||||
LIBS="$LIBS -lmd"
|
||||
fi
|
||||
;;
|
||||
@ -1004,7 +1005,7 @@ if test "$USE_NSS" = "no"; then
|
||||
AC_SEARCH_LIBS([clock_gettime], [rt])
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
fi
|
||||
])
|
||||
fi
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user