NEWS.stable: log cherry-pick [a0d9972]->[21d1619] freopen: Don't crash if the filenam...
[gnulib.git] / modules / close
index bb852d4..adec040 100644 (file)
@@ -3,15 +3,17 @@ close() function: close a file or socket.
 
 Files:
 lib/close.c
-lib/w32sock.h
 m4/close.m4
 
 Depends-on:
 unistd
-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: