]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
more fixes for $host usage
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Mon, 6 Feb 2017 12:52:32 +0000 (12:52 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Mon, 6 Feb 2017 12:52:32 +0000 (12:52 +0000)
git-svn-id: file:///svn/unbound/trunk@3999 be551aaa-1e26-0410-a405-d3ace91eadb9

configure
configure.ac

index af2268d83d6aaa9c4c8e6bdc759c4e7f8d6084d9..714b42dcb001b7ff6992ea3981ad47015b9afe64 100755 (executable)
--- 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"
index dd0f14f6e369a9107cdd2a1531cee97b2ed418ba..bc465b0ebb9498221e8f19200830394bfd912e12 100644 (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])