diff options
author | Brian Aker <brian@tangent.org> | 2012-10-16 03:55:56 -0400 |
---|---|---|
committer | Brian Aker <brian@tangent.org> | 2012-10-16 03:55:56 -0400 |
commit | d4ad519c7c8b8943bccffedb8e1e6f129f1eafa0 (patch) | |
tree | 51b70a362b1b2863e1347f2b196b74186f60cadf /configure.ac | |
parent | b12abad3a804915ed94dd630bef04317feadd265 (diff) | |
download | tlsdate-d4ad519c7c8b8943bccffedb8e1e6f129f1eafa0.tar.gz |
Make library installable, plus fix the maintainer-clean to remove dead merge bits.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index f40379d..a61de3d 100644 --- a/configure.ac +++ b/configure.ac @@ -52,6 +52,15 @@ AC_CHECK_HEADERS( AC_CHECK_FUNCS([setresuid gettimeofday]) +# Check for -lrt +AC_CHECK_LIB([rt], [clock_gettime], [ + RT_LIB="-lrt" + AC_SUBST(RT_LIB) + AC_DEFINE([HAVE_LIBRT], [1], [Have clock_gettime]) + ],[ + AC_DEFINE([HAVE_LIBRT], [0], [Have clock_gettime]) + ]) + # Debug and hardening flags all in one shot # Alwas do this at the end, otherwise you end up filtering system/other libraries AC_DEFUN([LOCAL_CHECK_FLAGS],[ |