+AC_CHECK_DECLS([CLOCK_MONOTONIC], [], [], [[#include <time.h>]])
+AC_SEARCH_LIBS([clock_gettime], [rt], [AC_DEFINE([HAVE_CLOCK_GETTIME],[],[Define if clock_gettime() is available])])
+
+if test "x$GCC" = "xyes"; then
+ :
+ AC_SUBST(WARNINGOPTS, ['-Wall -Werror'])
+else
+ :
+ AC_SUBST(WARNINGOPTS, [])
+fi