close: Move AC_LIBOBJ invocation to module description.
[gnulib.git] / modules / close
index 9f1028b..adec040 100644 (file)
@@ -11,6 +11,9 @@ fd-hook         [test $REPLACE_CLOSE = 1]
 
 configure.ac:
 gl_FUNC_CLOSE
+if test $REPLACE_CLOSE = 1; then
+  AC_LIBOBJ([close])
+fi
 gl_UNISTD_MODULE_INDICATOR([close])
 
 Makefile.am: