mbsrtowcs: Move AC_LIBOBJ invocations to module description.
[pspp] / modules / gethrxtime
index ab9507bcec9f65477fea88bec31a957ab05523b4..916bab1fd970dc5d3f067b587e8b4ec2405d5710 100644 (file)
@@ -16,6 +16,10 @@ 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: