regex: also remove dependency on HAVE_WCSCOLL
[gnulib.git] / modules / usleep
index 0bee1cc..563df42 100644 (file)
@@ -12,6 +12,9 @@ sleep           [test $HAVE_USLEEP = 0 || test $REPLACE_USLEEP = 1]
 
 configure.ac:
 gl_FUNC_USLEEP
+if test $HAVE_USLEEP = 0 || test $REPLACE_USLEEP = 1; then
+  AC_LIBOBJ([usleep])
+fi
 gl_UNISTD_MODULE_INDICATOR([usleep])
 
 Makefile.am: