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])