summaryrefslogtreecommitdiff
path: root/modules/getopt
blob: fa01d90d1d1a85d7b557c5aa6591d947db6b6cd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
Description:
Process command line arguments.

Files:
lib/getopt_.h
lib/getopt.c
lib/getopt1.c
lib/getopt_int.h
m4/getopt.m4

Depends-on:
gettext-h
unistd

configure.ac:
gl_GETOPT

Makefile.am:
BUILT_SOURCES += $(GETOPT_H)

# We need the following in order to create <getopt.h> when the system
# doesn't have one that works with the given compiler.
getopt.h: getopt_.h
	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
	  cat $(srcdir)/getopt_.h; \
	} > $@-t
	mv -f $@-t $@
MOSTLYCLEANFILES += getopt.h getopt.h-t

Include:
<getopt.h>

License:
LGPL

Maintainer:
all, glibc