summaryrefslogtreecommitdiff
path: root/modules/getopt-gnu
blob: 9c348ed25ffcd316775839e11b846d7f163dae02 (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
Description:
GNU-like getopt() function, getopt_long() function, getopt_long_only() function:
process command line arguments.

Files:

Depends-on:
nocrash
getopt-posix

configure.ac:
gl_FUNC_GETOPT_GNU
if test $REPLACE_GETOPT = 1; then
  AC_LIBOBJ([getopt])
  AC_LIBOBJ([getopt1])
  dnl Arrange for unistd.h to include getopt.h.
  GNULIB_${gl_include_guard_prefix}_UNISTD_H_GETOPT=1
fi
AC_SUBST([GNULIB_${gl_include_guard_prefix}_UNISTD_H_GETOPT])

Makefile.am:

Include:
<getopt.h>

License:
LGPLv2+

Maintainer:
all, glibc