mirror of
https://git.savannah.gnu.org/git/gnulib.git
synced 2025-08-10 04:43:00 +03:00
* gnulib-tool (func_emit_autoconf_snippet): Substitute ${include_guard_prefix} also in the autoconf snippet. * m4/getopt.m4 (gl_FUNC_GETOPT_POSIX): Don't set GNULIB_UNISTD_H_GETOPT. * m4/unistd_h.m4 (gl_UNISTD_H_DEFAULTS): Don't initialize GNULIB_UNISTD_H_GETOPT. * modules/getopt-posix (configure.ac): Set the GNULIB_${gl_include_guard_prefix}_UNISTD_H_GETOPT variable. * modules/getopt-gnu (configure.ac): Likewise. * modules/unistd (Makefile.am): Change the substitution value of GNULIB_UNISTD_H_GETOPT to depend on the include guard prefix. Reported by Simon Josefsson.
33 lines
588 B
Plaintext
33 lines
588 B
Plaintext
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
|