* lib/fcntl_.h: New file.
[gnulib.git] / modules / fcntl
1 Description:
2 Like <fcntl.h>, but with non-working flags defined to 0.
3
4 Files:
5 lib/fcntl_.h
6 m4/absolute-header.m4
7 m4/fcntl_h.m4
8
9 Depends-on:
10 unistd
11
12 configure.ac:
13 gl_FCNTL_H
14
15 Makefile.am:
16 BUILT_SOURCES += $(FCNTL_H)
17 EXTRA_DIST += fcntl_.h
18
19 # We need the following in order to create <fcntl.h> when the system
20 # doesn't have one that works with the given compiler.
21 fcntl.h: fcntl_.h
22         sed -e 's|@''ABSOLUTE_FCNTL_H''@|$(ABSOLUTE_FCNTL_H)|g' \
23             < $(srcdir)/fcntl_.h > $@-t
24         mv $@-t $@
25 MOSTLYCLEANFILES += fcntl.h fcntl.h-t
26
27 Include:
28 #include <fcntl.h>
29
30 License:
31 LGPL
32
33 Maintainer:
34 all