openat: provide more convenience names
[pspp] / modules / getopt-posix
1 Description:
2 getopt() function: process command line arguments.
3
4 Files:
5 lib/getopt.in.h
6 lib/getopt.c
7 lib/getopt1.c
8 lib/getopt_int.h
9 m4/getopt.m4
10
11 Depends-on:
12 gettext-h
13 unistd
14 extensions
15
16 configure.ac:
17 gl_FUNC_GETOPT_POSIX
18
19 Makefile.am:
20 BUILT_SOURCES += $(GETOPT_H)
21
22 # We need the following in order to create <getopt.h> when the system
23 # doesn't have one that works with the given compiler.
24 getopt.h: getopt.in.h
25         $(AM_V_GEN)rm -f $@-t $@ && \
26         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
27           cat $(srcdir)/getopt.in.h; \
28         } > $@-t && \
29         mv -f $@-t $@
30 MOSTLYCLEANFILES += getopt.h getopt.h-t
31
32 Include:
33 <unistd.h>
34
35 License:
36 LGPL
37
38 Maintainer:
39 all, glibc