Set cut_dir properly, and add mode line for Emacs.
[gnulib.git] / modules / fcntl-h
1 Description:
2 Like <fcntl.h>, but with non-working flags defined to 0.
3
4 Files:
5 lib/fcntl.in.h
6 m4/fcntl_h.m4
7 m4/fcntl-o.m4
8
9 Depends-on:
10 arg-nonnull
11 c++defs
12 extensions
13 include_next
14 unistd
15 warn-on-use
16
17 configure.ac:
18 gl_FCNTL_H
19
20 Makefile.am:
21 BUILT_SOURCES += fcntl.h
22
23 # We need the following in order to create <fcntl.h> when the system
24 # doesn't have one that works with the given compiler.
25 fcntl.h: fcntl.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
26         $(AM_V_GEN)rm -f $@-t $@ && \
27         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
28           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
29               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
30               -e 's|@''NEXT_FCNTL_H''@|$(NEXT_FCNTL_H)|g' \
31               -e 's|@''GNULIB_FCNTL''@|$(GNULIB_FCNTL)|g' \
32               -e 's|@''GNULIB_OPEN''@|$(GNULIB_OPEN)|g' \
33               -e 's|@''GNULIB_OPENAT''@|$(GNULIB_OPENAT)|g' \
34               -e 's|@''HAVE_FCNTL''@|$(HAVE_FCNTL)|g' \
35               -e 's|@''HAVE_OPENAT''@|$(HAVE_OPENAT)|g' \
36               -e 's|@''REPLACE_FCNTL''@|$(REPLACE_FCNTL)|g' \
37               -e 's|@''REPLACE_OPEN''@|$(REPLACE_OPEN)|g' \
38               -e 's|@''REPLACE_OPENAT''@|$(REPLACE_OPENAT)|g' \
39               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
40               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
41               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
42               < $(srcdir)/fcntl.in.h; \
43         } > $@-t && \
44         mv $@-t $@
45 MOSTLYCLEANFILES += fcntl.h fcntl.h-t
46
47 Include:
48 <fcntl.h>
49
50 License:
51 LGPLv2+
52
53 Maintainer:
54 all