view modules/getopt-gnu @ 17305:0e5a583a2a8d

regex: test for buffer overrun * m4/regex.m4 (gl_REGEX): Add test case, by Andreas Schwab, for the just-fixed regex bug.
author Paul Eggert <eggert@cs.ucla.edu>
date Tue, 29 Jan 2013 22:34:58 -0800
parents e3e8e2fc21a9
children
line wrap: on
line source

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