summaryrefslogtreecommitdiff
path: root/modules/getopt-gnu
blob: 69fc7de1a7abdf305383d86dedb000b9b08829be (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
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])
  gl_PREREQ_GETOPT
  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])
gl_MODULE_INDICATOR_FOR_TESTS([getopt-gnu])

Makefile.am:

Include:
<getopt.h>

License:
LGPLv2+

Maintainer:
all, glibc