chiark
/
gitweb
/
~ianmdlvl
/
secnet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use CLOCK_MONOTONIC for all our timing needs, when possible
[secnet.git]
/
configure.ac
diff --git
a/configure.ac
b/configure.ac
index 53810e4a53eb1cbfae521db0edf8de898974b31c..aceed9014346659261b9f92ef6e36edf583d369a 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-140,7
+140,7
@@
fi
AC_CHECK_DECL([adns_if_monotonic],[
AC_DEFINE([USE_MONOTONIC],[1],[Use CLOCK_MONOTONIC and adns_if_monotonic])
],[
AC_CHECK_DECL([adns_if_monotonic],[
AC_DEFINE([USE_MONOTONIC],[1],[Use CLOCK_MONOTONIC and adns_if_monotonic])
],[
-
AC_MSG_WARN([Using non-monotonic clock, due to lack of adns_if_monotonic])
+
: dnl
AC_MSG_WARN([Using non-monotonic clock, due to lack of adns_if_monotonic])
],[AC_INCLUDES_DEFAULT
#include <adns.h>
])
],[AC_INCLUDES_DEFAULT
#include <adns.h>
])