Merge commit 'b572c3a256e7bf1e4eecc8c36448c08093240a6a' into stable
[gnulib.git] / modules / fcntl
index 67f67f9..ab7c8ad 100644 (file)
@@ -6,12 +6,17 @@ m4/fcntl.m4
 lib/fcntl.c
 
 Depends-on:
-dup2
 fcntl-h
 extensions
+dup2            [test $HAVE_FCNTL = 0 || test $REPLACE_FCNTL = 1]
+getdtablesize   [test $HAVE_FCNTL = 0 || test $REPLACE_FCNTL = 1]
+msvc-nothrow    [test $HAVE_FCNTL = 0 || test $REPLACE_FCNTL = 1]
 
 configure.ac:
 gl_FUNC_FCNTL
+if test $HAVE_FCNTL = 0 || test $REPLACE_FCNTL = 1; then
+  AC_LIBOBJ([fcntl])
+fi
 gl_FCNTL_MODULE_INDICATOR([fcntl])
 
 Makefile.am:
@@ -20,7 +25,7 @@ Include:
 <fcntl.h>
 
 License:
-LGPL
+LGPLv2+
 
 Maintainer:
 Eric Blake