From: Nikos Mavrogiannopoulos Date: Tue, 26 Nov 2013 16:19:43 +0000 (+0100) Subject: Do not link gnutls against librt unlress it is really necessary. X-Git-Tag: gnutls_3_3_0pre0~520^2~23 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ebbc40cebf30d1108c550e453d15b23d39a6dd2e;p=thirdparty%2Fgnutls.git Do not link gnutls against librt unlress it is really necessary. --- diff --git a/configure.ac b/configure.ac index 859d04bf28..8dc1b934e9 100644 --- a/configure.ac +++ b/configure.ac @@ -268,6 +268,7 @@ if [ test "$enable_fips" = "yes" ];then dnl clock_gettime precision is needed on the FIPS140 DRBG. if test "$ac_cv_func_clock_gettime" != "yes";then AC_LIB_HAVE_LINKFLAGS(rt,, [#include ], [clock_gettime (0, 0);]) + gnutls_needs_librt=yes fi AC_DEFINE([ENABLE_FIPS140], 1, [Enable FIPS140-2 mode])