maint.mk: avoid sc_prohibit_always-defined_macros failure in coreutils
[gnulib.git] / modules / close
index e294292..adec040 100644 (file)
@@ -7,11 +7,13 @@ m4/close.m4
 
 Depends-on:
 unistd
-close-hook
-fclose
+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: