From 901d83fcff65c97874b34703b261440e2178a1b3 Mon Sep 17 00:00:00 2001 From: Wouter Wijngaards Date: Mon, 6 Feb 2017 12:52:32 +0000 Subject: [PATCH] more fixes for $host usage git-svn-id: file:///svn/unbound/trunk@3999 be551aaa-1e26-0410-a405-d3ace91eadb9 --- configure | 6 +++--- configure.ac | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/configure b/configure index af2268d83..714b42dcb 100755 --- a/configure +++ b/configure @@ -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" diff --git a/configure.ac b/configure.ac index dd0f14f6e..bc465b0eb 100644 --- a/configure.ac +++ b/configure.ac @@ -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])