Merge branch 'stable'
[gnulib.git] / modules / gethrxtime
index 1a2ac83..916bab1 100644 (file)
@@ -16,12 +16,19 @@ 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:
 "xtime.h"
 
+Link:
+$(LIB_GETHRXTIME)
+
 License:
 GPL