tests: avoid spurious assertion failure in test-float.c on ppc64
[gnulib.git] / modules / gethrxtime
index 3de2ee4..916bab1 100644 (file)
@@ -16,11 +16,18 @@ sys_time
 
 configure.ac:
 gl_GETHRXTIME
+if test $ac_cv_have_decl_gethrtime = no || test $gl_cv_arithmetic_hrtime_t = no; then
+  AC_LIBOBJ([gethrxtime])
+  gl_PREREQ_GETHRXTIME
+fi
 
 Makefile.am:
 
 Include:
-#include "xtime.h"
+"xtime.h"
+
+Link:
+$(LIB_GETHRXTIME)
 
 License:
 GPL