Add missing dependency.
[gnulib.git] / modules / unistd
1 Description:
2 A <unistd.h> for systems lacking it.
3
4 Files:
5 m4/unistd_h.m4
6 lib/unistd_.h
7
8 Depends-on:
9 absolute-header
10
11 configure.ac:
12 gl_HEADER_UNISTD
13
14 Makefile.am:
15 BUILT_SOURCES += $(UNISTD_H)
16
17 # We need the following in order to create an empty placeholder for
18 # <unistd.h> when the system doesn't have one.
19 unistd.h: unistd_.h
20         rm -f $@-t $@
21         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
22           sed -e 's|@''ABSOLUTE_UNISTD_H''@|$(ABSOLUTE_UNISTD_H)|g' \
23               < $(srcdir)/unistd_.h; \
24         } > $@-t
25         mv $@-t $@
26 MOSTLYCLEANFILES += unistd.h unistd.h-t
27
28 Include:
29 #include <unistd.h>
30
31 License:
32 LGPL
33
34 Maintainer:
35 Simon Josefsson