Fix problem with _GL_JUST_INCLUDE_SYSTEM_INTTYPES_H on VMS.
[gnulib.git] / modules / fcntl
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
8 Depends-on:
9 include_next
10 unistd
11
12 configure.ac:
13 gl_FCNTL_H
14
15 Makefile.am:
16 BUILT_SOURCES += $(FCNTL_H)
17
18 # We need the following in order to create <fcntl.h> when the system
19 # doesn't have one that works with the given compiler.
20 fcntl.h: fcntl.in.h
21         rm -f $@-t $@
22         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
23           sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
24               -e 's|@''NEXT_FCNTL_H''@|$(NEXT_FCNTL_H)|g' \
25               -e 's|@''GNULIB_OPEN''@|$(GNULIB_OPEN)|g' \
26               -e 's|@''REPLACE_OPEN''@|$(REPLACE_OPEN)|g' \
27               < $(srcdir)/fcntl.in.h; \
28         } > $@-t
29         mv $@-t $@
30 MOSTLYCLEANFILES += fcntl.h fcntl.h-t
31
32 Include:
33 #include <fcntl.h>
34
35 License:
36 LGPL
37
38 Maintainer:
39 all