gettimeofday: port recent C++ fix to Emacs
[gnulib.git] / modules / fcntl
index 1107cac..dc891e7 100644 (file)
@@ -1,12 +1,24 @@
 Description:
-Placeholder for eventual fcntl() replacement.
+Support for fcntl() action F_DUPFD, F_DUPFD_CLOEXEC, F_GETFD.
 
 Files:
+m4/fcntl.m4
+lib/fcntl.c
 
 Depends-on:
 fcntl-h
+extensions
+close           [test $HAVE_FCNTL = 0 || test $REPLACE_FCNTL = 1]
+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:
 
@@ -14,7 +26,7 @@ Include:
 <fcntl.h>
 
 License:
-LGPL
+LGPLv2+
 
 Maintainer:
 Eric Blake