X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=modules%2Ffcntl;h=4c30e9e4ab214304c3a664492443a5b2ddb9bd92;hb=e873bdee3369d3fcae65c602196f53b943af3770;hp=350ca5002ac80bb772e7ba89e9b6fa1c45e4a4bb;hpb=e8886c908325158b4e127ac82fbc4fb8918aad85;p=gnulib.git diff --git a/modules/fcntl b/modules/fcntl index 350ca5002..4c30e9e4a 100644 --- a/modules/fcntl +++ b/modules/fcntl @@ -1,37 +1,30 @@ Description: -Like , but with non-working flags defined to 0. +Support for fcntl() action F_DUPFD, F_DUPFD_CLOEXEC, F_GETFD. Files: -lib/fcntl_.h -m4/absolute-header.m4 -m4/fcntl_h.m4 +m4/fcntl.m4 +lib/fcntl.c Depends-on: -unistd +fcntl-h +extensions +dup2 [test $HAVE_FCNTL = 0 || test $REPLACE_FCNTL = 1] +getdtablesize [test $HAVE_FCNTL = 0 || test $REPLACE_FCNTL = 1] configure.ac: -gl_FCNTL_H +gl_FUNC_FCNTL +if test $HAVE_FCNTL = 0 || test $REPLACE_FCNTL = 1; then + AC_LIBOBJ([fcntl]) +fi +gl_FCNTL_MODULE_INDICATOR([fcntl]) Makefile.am: -BUILT_SOURCES += $(FCNTL_H) -EXTRA_DIST += fcntl_.h - -# We need the following in order to create when the system -# doesn't have one that works with the given compiler. -fcntl.h: fcntl_.h - rm -f $@-t $@ - { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ - sed -e 's|@''ABSOLUTE_FCNTL_H''@|$(ABSOLUTE_FCNTL_H)|g' \ - < $(srcdir)/fcntl_.h; \ - } > $@-t - mv $@-t $@ -MOSTLYCLEANFILES += fcntl.h fcntl.h-t Include: -#include + License: -LGPL +LGPLv2+ Maintainer: -all +Eric Blake