diff --git a/configure b/configure index b42d5c834..5d50bd79e 100755 --- a/configure +++ b/configure @@ -18250,7 +18250,7 @@ else $as_echo "#define COMPAT_SHA512 1" >>confdefs.h -; + case " $LIBOBJS " in *" sha512.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS sha512.$ac_objext" diff --git a/configure.ac b/configure.ac index bd912e92d..54e7cabb2 100644 --- a/configure.ac +++ b/configure.ac @@ -998,7 +998,7 @@ if test "$USE_NSS" = "no"; then Linux|*) AC_LIBOBJ(getentropy_linux) AC_CHECK_FUNCS([SHA512_Update],,[ - AC_DEFINE([COMPAT_SHA512], [1], [Do sha512 definitions in config.h]); + AC_DEFINE([COMPAT_SHA512], [1], [Do sha512 definitions in config.h]) AC_LIBOBJ(sha512) ]) AC_SEARCH_LIBS([clock_gettime], [rt])