Support programs like Emacs that use gnulib but not gettext.
[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
14 configure.ac:
15 gl_GETOPT
16
17 Makefile.am:
18 BUILT_SOURCES += $(GETOPT_H)
19 EXTRA_DIST += getopt_.h getopt_int.h
20
21 # We need the following in order to create an <getopt.h> when the system
22 # doesn't have one that works with the given compiler.
23 all-local $(lib_OBJECTS): $(GETOPT_H)
24 getopt.h: getopt_.h
25         cp $(srcdir)/getopt_.h $@-t
26         mv $@-t $@
27 MOSTLYCLEANFILES += getopt.h getopt.h-t
28
29 Include:
30 <getopt.h>
31
32 License:
33 LGPL
34
35 Maintainer:
36 all, glibc