diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2013-11-26 17:19:43 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2013-11-27 11:41:45 +0100 |
commit | ebbc40cebf30d1108c550e453d15b23d39a6dd2e (patch) | |
tree | f773b49c7207831c97bf75c3289e58345d31a767 /configure.ac | |
parent | dea3ed8975b04cdc93830db23e9afa62bcc95b95 (diff) | |
download | gnutls-ebbc40cebf30d1108c550e453d15b23d39a6dd2e.tar.gz |
Do not link gnutls against librt unlress it is really necessary.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
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 <time.h>], [clock_gettime (0, 0);]) + gnutls_needs_librt=yes fi AC_DEFINE([ENABLE_FIPS140], 1, [Enable FIPS140-2 mode]) |