more fixes for $host usage

git-svn-id: file:///svn/unbound/trunk@3999 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2017-02-06 12:52:32 +00:00
parent 4b22dcb7ad
commit 901d83fcff
2 changed files with 6 additions and 6 deletions

6
configure vendored
View file

@ -19624,7 +19624,7 @@ esac
else
case "$host" in
Darwin)
Darwin|*darwin*)
case " $LIBOBJS " in
*" getentropy_osx.$ac_objext "* ) ;;
*) LIBOBJS="$LIBOBJS getentropy_osx.$ac_objext"
@ -19632,7 +19632,7 @@ esac
esac
;;
solaris|SunOS)
*solaris*|*sunos*|SunOS)
case " $LIBOBJS " in
*" getentropy_solaris.$ac_objext "* ) ;;
*) LIBOBJS="$LIBOBJS getentropy_solaris.$ac_objext"
@ -19736,7 +19736,7 @@ if test "$ac_res" != no; then :
fi
;;
Linux|*)
*linux*|Linux|*)
case " $LIBOBJS " in
*" getentropy_linux.$ac_objext "* ) ;;
*) LIBOBJS="$LIBOBJS getentropy_linux.$ac_objext"

View file

@ -1216,10 +1216,10 @@ if test "$USE_NSS" = "no"; then
AC_LIBOBJ(getentropy_win)
else
case "$host" in
Darwin)
Darwin|*darwin*)
AC_LIBOBJ(getentropy_osx)
;;
solaris|SunOS)
*solaris*|*sunos*|SunOS)
AC_LIBOBJ(getentropy_solaris)
AC_CHECK_HEADERS([sys/sha2.h],, [
AC_CHECK_FUNCS([SHA512_Update],,[
@ -1232,7 +1232,7 @@ if test "$USE_NSS" = "no"; then
fi
AC_SEARCH_LIBS([clock_gettime], [rt])
;;
Linux|*)
*linux*|Linux|*)
AC_LIBOBJ(getentropy_linux)
AC_CHECK_FUNCS([SHA512_Update],,[
AC_DEFINE([COMPAT_SHA512], [1], [Do sha512 definitions in config.h])