freopen-safer: Move AC_LIBOBJ invocations to module description.
[pspp] / modules / sleep
index c9b6c40809ec7cdfc6ddc8aeb06ed2670bd305df..f48927e577d7b107d20bc3c60c19f7b06c134300 100644 (file)
@@ -12,6 +12,9 @@ verify          [test $HAVE_SLEEP = 0 || test $REPLACE_SLEEP = 1]
 
 configure.ac:
 gl_FUNC_SLEEP
+if test $HAVE_SLEEP = 0 || test $REPLACE_SLEEP = 1; then
+  AC_LIBOBJ([sleep])
+fi
 gl_UNISTD_MODULE_INDICATOR([sleep])
 
 Makefile.am: