Fix use of unistd.h in getopt through a new unistd module.
[pspp] / modules / unistd
1 Description:
2 A <unistd.h> for systems lacking it.
3
4 Files:
5 lib/unistd_.h
6 m4/unistd_h.m4
7
8 Depends-on:
9
10 configure.ac:
11 gl_HEADER_UNISTD
12
13 Makefile.am:
14 BUILT_SOURCES += $(UNISTD_H)
15 EXTRA_DIST += unistd_.h
16
17 # We need the following in order to create <byteswap.h> when the system
18 # doesn't have one.
19 unistd.h: unistd_.h
20         cp $(srcdir)/unistd_.h $@-t
21         mv $@-t $@
22 MOSTLYCLEANFILES += unistd.h unistd.h-t
23
24 Include:
25 #include <unistd.h>
26
27 License:
28 LGPL
29
30 Maintainer:
31 Simon Josefsson