26e506ca57a845a8ed7d950282e1fc429294ed42
[gnulib.git] / modules / getopt
1 Description:
2 Process command line arguments.
3
4 Files:
5 lib/getopt_.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
15 configure.ac:
16 gl_GETOPT
17
18 Makefile.am:
19 BUILT_SOURCES += $(GETOPT_H)
20 EXTRA_DIST += getopt_.h getopt_int.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_.h
25         rm -f $@-t $@
26         cp $(srcdir)/getopt_.h $@-t
27         chmod a-x $@-t
28         mv $@-t $@
29 MOSTLYCLEANFILES += getopt.h getopt.h-t
30
31 Include:
32 <getopt.h>
33
34 License:
35 LGPL
36
37 Maintainer:
38 all, glibc