install-reloc: Support multi-binary installation.
[gnulib.git] / modules / close
index 138be1b..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:
@@ -19,9 +22,6 @@ Makefile.am:
 Include:
 <unistd.h>
 
-Link:
-$(LIB_CLOSE)
-
 License:
 LGPLv2+