Merge commit 'a39d4083cab589d7cd6a13e8a4b8db8875261d75'
[gnulib.git] / modules / close
index bb852d4..6451ce2 100644 (file)
@@ -3,15 +3,18 @@ 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]
+msvc-inval      [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: