* lib/dosname.h, lib/glthread/lock.c, lib/glthread/lock.h, lib/glthread/threadlib.c, lib/windows-mutex.c, lib/windows-mutex.h, lib/windows-once.c, lib/windows-once.h, lib/windows-recmutex.c, lib/windows-recmutex.h, lib/windows-rwlock.c, lib/windows-rwlock.h, m4/host-cpu-c-abi.m4, m4/lib-ld.m4, m4/lib-link.m4, m4/lib-prefix.m4, m4/lock.m4, m4/longlong.m4, m4/pthread_rwlock_rdlock.m4, tools/config.rpath: Delete. * lib/alloca.in.h, lib/argmatch.c, lib/argmatch.h, lib/arg-nonnull.h, lib/argp-ba.c, lib/argp-eexst.c, lib/argp-fmtstream.c, lib/argp-fmtstream.h, lib/argp-fs-xinl.c, lib/argp.h, lib/argp-help.c, lib/argp-namefrob.h, lib/argp-parse.c, lib/argp-pin.c, lib/argp-pv.c, lib/argp-pvh.c, lib/argp-xinl.c, lib/asnprintf.c, lib/basename-lgpl.c, lib/c-ctype.h, lib/c++defs.h, lib/cdefs.h, lib/closeout.c, lib/closeout.h, lib/close-stream.c, lib/c-strcasecmp.c, lib/c-strcaseeq.h, lib/c-strcase.h, lib/c-strncasecmp.c, lib/dirname.h, lib/dirname-lgpl.c, lib/errno.in.h, lib/error.c, lib/error.h, lib/exitfail.c, lib/exitfail.h, lib/fcntl.in.h, lib/filename.h, lib/float.c, lib/float+.h, lib/float.in.h, lib/fpending.c, lib/fpending.h, lib/getopt1.c, lib/getopt.c, lib/getopt-cdefs.in.h, lib/getopt-core.h, lib/getopt-ext.h, lib/getopt.in.h, lib/getopt_int.h, lib/getopt-pfx-core.h, lib/getopt-pfx-ext.h, lib/getprogname.c, lib/getprogname.h, lib/gettext.h, lib/gettimeofday.c, lib/hard-locale.c, lib/hard-locale.h, lib/intprops.h, lib/isatty.c, lib/itold.c, lib/libc-config.h, lib/limits.in.h, lib/localcharset.c, lib/localcharset.h, lib/localtime-buffer.c, lib/localtime-buffer.h, lib/lstat.c, lib/Makefile.am, lib/malloca.c, lib/malloca.h, lib/malloc.c, lib/mbrtowc.c, lib/mbsinit.c, lib/memchr.c, lib/memchr.valgrind, lib/mempcpy.c, lib/minmax.h, lib/mkdir.c, lib/mkstemp.c, lib/mkstemps.c, lib/msvc-inval.c, lib/msvc-inval.h, lib/msvc-nothrow.c, lib/msvc-nothrow.h, lib/_Noreturn.h, lib/pathmax.h, lib/printf-args.c, lib/printf-args.h, lib/printf-parse.c, lib/printf-parse.h, lib/progname.c, lib/progname.h, lib/quotearg.c, lib/quotearg.h, lib/quote.h, lib/rawmemchr.c, lib/rawmemchr.valgrind, lib/secure_getenv.c, lib/size_max.h, lib/sleep.c, lib/stat.c, lib/stat-time.h, lib/stat-w32.c, lib/stat-w32.h, lib/stdalign.in.h, lib/stdbool.in.h, lib/stddef.in.h, lib/stdint.in.h, lib/stdio-impl.h, lib/stdio.in.h, lib/stdlib.in.h, lib/stpcpy.c, lib/strcasecmp.c, lib/strchrnul.c, lib/strchrnul.valgrind, lib/streq.h, lib/strerror.c, lib/strerror-override.c, lib/strerror-override.h, lib/string.in.h, lib/strings.in.h, lib/stripslash.c, lib/strncasecmp.c, lib/strndup.c, lib/strnlen.c, lib/strverscmp.c, lib/sysexits.in.h, lib/sys_stat.in.h, lib/sys_time.in.h, lib/sys_types.in.h, lib/sys_wait.in.h, lib/tempname.c, lib/tempname.h, lib/time.in.h, lib/unistd.in.h, lib/vasnprintf.c, lib/vasnprintf.h, lib/verify.h, lib/vsnprintf.c, lib/warn-on-use.h, lib/wchar.in.h, lib/wctype.in.h, lib/windows-initguard.h, lib/xalloc-die.c, lib/xalloc.h, lib/xalloc-oversized.h, lib/xmalloc.c, lib/xsize.h, m4/00gnulib.m4, m4/absolute-header.m4, m4/alloca.m4, m4/argp.m4, m4/codeset.m4, m4/dirname.m4, m4/double-slash-root.m4, m4/eealloc.m4, m4/errno_h.m4, m4/error.m4, m4/exponentd.m4, m4/extensions.m4, m4/extern-inline.m4, m4/fcntl_h.m4, m4/fcntl-o.m4, m4/float_h.m4, m4/fpending.m4, m4/getopt.m4, m4/getprogname.m4, m4/gettimeofday.m4, m4/gnulib-cache.m4, m4/gnulib-common.m4, m4/gnulib-comp.m4, m4/gnulib-tool.m4, m4/include_next.m4, m4/__inline.m4, m4/intmax_t.m4, m4/inttypes_h.m4, m4/isatty.m4, m4/largefile.m4, m4/limits-h.m4, m4/localcharset.m4, m4/locale-fr.m4, m4/locale-ja.m4, m4/locale-zh.m4, m4/localtime-buffer.m4, m4/lstat.m4, m4/malloca.m4, m4/malloc.m4, m4/math_h.m4, m4/mbrtowc.m4, m4/mbsinit.m4, m4/mbstate_t.m4, m4/memchr.m4, m4/mempcpy.m4, m4/minmax.m4, m4/mkdir.m4, m4/mkstemp.m4, m4/mkstemps.m4, m4/mmap-anon.m4, m4/msvc-inval.m4, m4/msvc-nothrow.m4, m4/multiarch.m4, m4/nocrash.m4, m4/off_t.m4, m4/pathmax.m4, m4/printf.m4, m4/quotearg.m4, m4/quote.m4, m4/rawmemchr.m4, m4/secure_getenv.m4, m4/size_max.m4, m4/sleep.m4, m4/ssize_t.m4, m4/stat.m4, m4/stat-time.m4, m4/stdalign.m4, m4/stdbool.m4, m4/stddef_h.m4, m4/std-gnu11.m4, m4/stdint_h.m4, m4/stdint.m4, m4/stdio_h.m4, m4/stdlib_h.m4, m4/stpcpy.m4, m4/strcase.m4, m4/strchrnul.m4, m4/strerror.m4, m4/string_h.m4, m4/strings_h.m4, m4/strndup.m4, m4/strnlen.m4, m4/strverscmp.m4, m4/sysexits.m4, m4/sys_socket_h.m4, m4/sys_stat_h.m4, m4/sys_time_h.m4, m4/sys_types_h.m4, m4/sys_wait_h.m4, m4/tempname.m4, m4/threadlib.m4, m4/time_h.m4, m4/unistd_h.m4, m4/vasnprintf.m4, m4/vsnprintf.m4, m4/warn-on-use.m4, m4/wchar_h.m4, m4/wchar_t.m4, m4/wctype_h.m4, m4/wint_t.m4, m4/xalloc.m4, m4/xsize.m4: Update. * lib/inttypes.in.h, lib/lc-charset-dispatch.c, lib/lc-charset-dispatch.h, lib/locale.in.h, lib/mbrtowc-impl.h, lib/mbrtowc-impl-utf8.h, lib/mbtowc-lock.c, lib/mbtowc-lock.h, lib/setlocale-lock.c, lib/setlocale_null.c, lib/setlocale_null.h, m4/inttypes.m4, m4/locale_h.m4, m4/setlocale_null.m4, m4/visibility.m4, m4/zzgnulib.m4: New files.
381 lines
13 KiB
Text
381 lines
13 KiB
Text
# getopt.m4 serial 47
|
|
dnl Copyright (C) 2002-2006, 2008-2020 Free Software Foundation, Inc.
|
|
dnl This file is free software; the Free Software Foundation
|
|
dnl gives unlimited permission to copy and/or distribute it,
|
|
dnl with or without modifications, as long as this notice is preserved.
|
|
|
|
# Request a POSIX compliant getopt function.
|
|
AC_DEFUN([gl_FUNC_GETOPT_POSIX],
|
|
[
|
|
m4_divert_text([DEFAULTS], [gl_getopt_required=POSIX])
|
|
AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
|
|
AC_REQUIRE([gl_GETOPT_CHECK_HEADERS])
|
|
dnl Other modules can request the gnulib implementation of the getopt
|
|
dnl functions unconditionally, by defining gl_REPLACE_GETOPT_ALWAYS.
|
|
dnl argp.m4 does this.
|
|
m4_ifdef([gl_REPLACE_GETOPT_ALWAYS], [
|
|
REPLACE_GETOPT=1
|
|
], [
|
|
REPLACE_GETOPT=0
|
|
if test -n "$gl_replace_getopt"; then
|
|
REPLACE_GETOPT=1
|
|
fi
|
|
])
|
|
if test $REPLACE_GETOPT = 1; then
|
|
dnl Arrange for getopt.h to be created.
|
|
gl_GETOPT_SUBSTITUTE_HEADER
|
|
fi
|
|
])
|
|
|
|
# Request a POSIX compliant getopt function with GNU extensions (such as
|
|
# options with optional arguments) and the functions getopt_long,
|
|
# getopt_long_only.
|
|
AC_DEFUN([gl_FUNC_GETOPT_GNU],
|
|
[
|
|
dnl Set the variable gl_getopt_required, so that all invocations of
|
|
dnl gl_GETOPT_CHECK_HEADERS in the scope of the current configure file
|
|
dnl will check for getopt with GNU extensions.
|
|
dnl This means that if one gnulib-tool invocation requests getopt-posix
|
|
dnl and another gnulib-tool invocation requests getopt-gnu, it is as if
|
|
dnl both had requested getopt-gnu.
|
|
m4_divert_text([INIT_PREPARE], [gl_getopt_required=GNU])
|
|
|
|
dnl No need to invoke gl_FUNC_GETOPT_POSIX here; this is automatically
|
|
dnl done through the module dependency getopt-gnu -> getopt-posix.
|
|
])
|
|
|
|
# Determine whether to replace the entire getopt facility.
|
|
AC_DEFUN([gl_GETOPT_CHECK_HEADERS],
|
|
[
|
|
AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
|
|
AC_REQUIRE([AC_PROG_AWK]) dnl for awk that supports ENVIRON
|
|
|
|
dnl Persuade Solaris <unistd.h> to declare optarg, optind, opterr, optopt.
|
|
AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
|
|
|
|
gl_CHECK_NEXT_HEADERS([getopt.h])
|
|
if test $ac_cv_header_getopt_h = yes; then
|
|
HAVE_GETOPT_H=1
|
|
else
|
|
HAVE_GETOPT_H=0
|
|
fi
|
|
AC_SUBST([HAVE_GETOPT_H])
|
|
|
|
gl_replace_getopt=
|
|
|
|
dnl Test whether <getopt.h> is available.
|
|
if test -z "$gl_replace_getopt" && test $gl_getopt_required = GNU; then
|
|
AC_CHECK_HEADERS([getopt.h], [], [gl_replace_getopt=yes])
|
|
fi
|
|
|
|
dnl Test whether the function getopt_long is available.
|
|
if test -z "$gl_replace_getopt" && test $gl_getopt_required = GNU; then
|
|
AC_CHECK_FUNCS([getopt_long_only], [], [gl_replace_getopt=yes])
|
|
fi
|
|
|
|
dnl POSIX 2008 does not specify leading '+' behavior, but see
|
|
dnl http://austingroupbugs.net/view.php?id=191 for a recommendation on
|
|
dnl the next version of POSIX. For now, we only guarantee leading '+'
|
|
dnl behavior with getopt-gnu.
|
|
if test -z "$gl_replace_getopt"; then
|
|
AC_CACHE_CHECK([whether getopt is POSIX compatible],
|
|
[gl_cv_func_getopt_posix],
|
|
[
|
|
dnl Merging these three different test programs into a single one
|
|
dnl would require a reset mechanism. On BSD systems, it can be done
|
|
dnl through 'optreset'; on some others (glibc), it can be done by
|
|
dnl setting 'optind' to 0; on others again (HP-UX, IRIX, OSF/1,
|
|
dnl Solaris 9, musl libc), there is no such mechanism.
|
|
if test $cross_compiling = no; then
|
|
dnl Sanity check. Succeeds everywhere (except on MSVC,
|
|
dnl which lacks <unistd.h> and getopt() entirely).
|
|
AC_RUN_IFELSE(
|
|
[AC_LANG_SOURCE([[
|
|
#include <unistd.h>
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
|
|
int
|
|
main ()
|
|
{
|
|
static char program[] = "program";
|
|
static char a[] = "-a";
|
|
static char foo[] = "foo";
|
|
static char bar[] = "bar";
|
|
char *argv[] = { program, a, foo, bar, NULL };
|
|
int c;
|
|
|
|
c = getopt (4, argv, "ab");
|
|
if (!(c == 'a'))
|
|
return 1;
|
|
c = getopt (4, argv, "ab");
|
|
if (!(c == -1))
|
|
return 2;
|
|
if (!(optind == 2))
|
|
return 3;
|
|
return 0;
|
|
}
|
|
]])],
|
|
[gl_cv_func_getopt_posix=maybe],
|
|
[gl_cv_func_getopt_posix=no])
|
|
if test $gl_cv_func_getopt_posix = maybe; then
|
|
dnl Sanity check with '+'. Succeeds everywhere (except on MSVC,
|
|
dnl which lacks <unistd.h> and getopt() entirely).
|
|
AC_RUN_IFELSE(
|
|
[AC_LANG_SOURCE([[
|
|
#include <unistd.h>
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
|
|
int
|
|
main ()
|
|
{
|
|
static char program[] = "program";
|
|
static char donald[] = "donald";
|
|
static char p[] = "-p";
|
|
static char billy[] = "billy";
|
|
static char duck[] = "duck";
|
|
static char a[] = "-a";
|
|
static char bar[] = "bar";
|
|
char *argv[] = { program, donald, p, billy, duck, a, bar, NULL };
|
|
int c;
|
|
|
|
c = getopt (7, argv, "+abp:q:");
|
|
if (!(c == -1))
|
|
return 4;
|
|
if (!(strcmp (argv[0], "program") == 0))
|
|
return 5;
|
|
if (!(strcmp (argv[1], "donald") == 0))
|
|
return 6;
|
|
if (!(strcmp (argv[2], "-p") == 0))
|
|
return 7;
|
|
if (!(strcmp (argv[3], "billy") == 0))
|
|
return 8;
|
|
if (!(strcmp (argv[4], "duck") == 0))
|
|
return 9;
|
|
if (!(strcmp (argv[5], "-a") == 0))
|
|
return 10;
|
|
if (!(strcmp (argv[6], "bar") == 0))
|
|
return 11;
|
|
if (!(optind == 1))
|
|
return 12;
|
|
return 0;
|
|
}
|
|
]])],
|
|
[gl_cv_func_getopt_posix=maybe],
|
|
[gl_cv_func_getopt_posix=no])
|
|
fi
|
|
if test $gl_cv_func_getopt_posix = maybe; then
|
|
dnl Detect Mac OS X 10.5, AIX 7.1, mingw bug.
|
|
AC_RUN_IFELSE(
|
|
[AC_LANG_SOURCE([[
|
|
#include <unistd.h>
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
|
|
int
|
|
main ()
|
|
{
|
|
static char program[] = "program";
|
|
static char ab[] = "-ab";
|
|
char *argv[3] = { program, ab, NULL };
|
|
if (getopt (2, argv, "ab:") != 'a')
|
|
return 13;
|
|
if (getopt (2, argv, "ab:") != '?')
|
|
return 14;
|
|
if (optopt != 'b')
|
|
return 15;
|
|
if (optind != 2)
|
|
return 16;
|
|
return 0;
|
|
}
|
|
]])],
|
|
[gl_cv_func_getopt_posix=yes],
|
|
[gl_cv_func_getopt_posix=no])
|
|
fi
|
|
else
|
|
case "$host_os" in
|
|
darwin* | aix* | mingw*) gl_cv_func_getopt_posix="guessing no";;
|
|
*) gl_cv_func_getopt_posix="guessing yes";;
|
|
esac
|
|
fi
|
|
])
|
|
case "$gl_cv_func_getopt_posix" in
|
|
*no) gl_replace_getopt=yes ;;
|
|
esac
|
|
fi
|
|
|
|
if test -z "$gl_replace_getopt" && test $gl_getopt_required = GNU; then
|
|
AC_CACHE_CHECK([for working GNU getopt function], [gl_cv_func_getopt_gnu],
|
|
[# Even with POSIXLY_CORRECT, the GNU extension of leading '-' in the
|
|
# optstring is necessary for programs like m4 that have POSIX-mandated
|
|
# semantics for supporting options interspersed with files.
|
|
# Also, since getopt_long is a GNU extension, we require optind=0.
|
|
# Bash ties 'set -o posix' to a non-exported POSIXLY_CORRECT;
|
|
# so take care to revert to the correct (non-)export state.
|
|
dnl GNU Coding Standards currently allow awk but not env; besides, env
|
|
dnl is ambiguous with environment values that contain newlines.
|
|
gl_awk_probe='BEGIN { if ("POSIXLY_CORRECT" in ENVIRON) print "x" }'
|
|
case ${POSIXLY_CORRECT+x}`$AWK "$gl_awk_probe" </dev/null` in
|
|
xx) gl_had_POSIXLY_CORRECT=exported ;;
|
|
x) gl_had_POSIXLY_CORRECT=yes ;;
|
|
*) gl_had_POSIXLY_CORRECT= ;;
|
|
esac
|
|
POSIXLY_CORRECT=1
|
|
export POSIXLY_CORRECT
|
|
AC_RUN_IFELSE(
|
|
[AC_LANG_PROGRAM([[#include <getopt.h>
|
|
#include <stddef.h>
|
|
#include <string.h>
|
|
]GL_NOCRASH[
|
|
]], [[
|
|
int result = 0;
|
|
|
|
nocrash_init();
|
|
|
|
/* This code succeeds on glibc 2.8, OpenBSD 4.0, Cygwin, mingw,
|
|
and fails on Mac OS X 10.5, AIX 5.2, HP-UX 11, IRIX 6.5,
|
|
OSF/1 5.1, Solaris 10. */
|
|
{
|
|
static char conftest[] = "conftest";
|
|
static char plus[] = "-+";
|
|
char *argv[3] = { conftest, plus, NULL };
|
|
opterr = 0;
|
|
if (getopt (2, argv, "+a") != '?')
|
|
result |= 1;
|
|
}
|
|
/* This code succeeds on glibc 2.8, mingw,
|
|
and fails on Mac OS X 10.5, OpenBSD 4.0, AIX 5.2, HP-UX 11,
|
|
IRIX 6.5, OSF/1 5.1, Solaris 10, Cygwin 1.5.x. */
|
|
{
|
|
static char program[] = "program";
|
|
static char p[] = "-p";
|
|
static char foo[] = "foo";
|
|
static char bar[] = "bar";
|
|
char *argv[] = { program, p, foo, bar, NULL };
|
|
|
|
optind = 1;
|
|
if (getopt (4, argv, "p::") != 'p')
|
|
result |= 2;
|
|
else if (optarg != NULL)
|
|
result |= 4;
|
|
else if (getopt (4, argv, "p::") != -1)
|
|
result |= 6;
|
|
else if (optind != 2)
|
|
result |= 8;
|
|
}
|
|
/* This code succeeds on glibc 2.8 and fails on Cygwin 1.7.0. */
|
|
{
|
|
static char program[] = "program";
|
|
static char foo[] = "foo";
|
|
static char p[] = "-p";
|
|
char *argv[] = { program, foo, p, NULL };
|
|
optind = 0;
|
|
if (getopt (3, argv, "-p") != 1)
|
|
result |= 16;
|
|
else if (getopt (3, argv, "-p") != 'p')
|
|
result |= 16;
|
|
}
|
|
/* This code fails on glibc 2.11. */
|
|
{
|
|
static char program[] = "program";
|
|
static char b[] = "-b";
|
|
static char a[] = "-a";
|
|
char *argv[] = { program, b, a, NULL };
|
|
optind = opterr = 0;
|
|
if (getopt (3, argv, "+:a:b") != 'b')
|
|
result |= 32;
|
|
else if (getopt (3, argv, "+:a:b") != ':')
|
|
result |= 32;
|
|
}
|
|
/* This code dumps core on glibc 2.14. */
|
|
{
|
|
static char program[] = "program";
|
|
static char w[] = "-W";
|
|
static char dummy[] = "dummy";
|
|
char *argv[] = { program, w, dummy, NULL };
|
|
optind = opterr = 1;
|
|
if (getopt (3, argv, "W;") != 'W')
|
|
result |= 64;
|
|
}
|
|
return result;
|
|
]])],
|
|
[gl_cv_func_getopt_gnu=yes],
|
|
[gl_cv_func_getopt_gnu=no],
|
|
[dnl Cross compiling.
|
|
dnl Assume the worst, even on glibc platforms.
|
|
dnl But obey --enable-cross-guesses.
|
|
gl_cv_func_getopt_gnu="$gl_cross_guess_normal"
|
|
])
|
|
case $gl_had_POSIXLY_CORRECT in
|
|
exported) ;;
|
|
yes) AS_UNSET([POSIXLY_CORRECT]); POSIXLY_CORRECT=1 ;;
|
|
*) AS_UNSET([POSIXLY_CORRECT]) ;;
|
|
esac
|
|
])
|
|
if test "$gl_cv_func_getopt_gnu" != yes; then
|
|
gl_replace_getopt=yes
|
|
else
|
|
AC_CACHE_CHECK([for working GNU getopt_long function],
|
|
[gl_cv_func_getopt_long_gnu],
|
|
[AC_RUN_IFELSE(
|
|
[AC_LANG_PROGRAM(
|
|
[[#include <getopt.h>
|
|
#include <stddef.h>
|
|
#include <string.h>
|
|
]],
|
|
[[static const struct option long_options[] =
|
|
{
|
|
{ "xtremely-",no_argument, NULL, 1003 },
|
|
{ "xtra", no_argument, NULL, 1001 },
|
|
{ "xtreme", no_argument, NULL, 1002 },
|
|
{ "xtremely", no_argument, NULL, 1003 },
|
|
{ NULL, 0, NULL, 0 }
|
|
};
|
|
/* This code fails on OpenBSD 5.0. */
|
|
{
|
|
static char program[] = "program";
|
|
static char xtremel[] = "--xtremel";
|
|
char *argv[] = { program, xtremel, NULL };
|
|
int option_index;
|
|
optind = 1; opterr = 0;
|
|
if (getopt_long (2, argv, "", long_options, &option_index) != 1003)
|
|
return 1;
|
|
}
|
|
return 0;
|
|
]])],
|
|
[gl_cv_func_getopt_long_gnu=yes],
|
|
[gl_cv_func_getopt_long_gnu=no],
|
|
[dnl Cross compiling. Guess no on OpenBSD, yes otherwise.
|
|
case "$host_os" in
|
|
openbsd*) gl_cv_func_getopt_long_gnu="guessing no";;
|
|
*) gl_cv_func_getopt_long_gnu="guessing yes";;
|
|
esac
|
|
])
|
|
])
|
|
case "$gl_cv_func_getopt_long_gnu" in
|
|
*yes) ;;
|
|
*) gl_replace_getopt=yes ;;
|
|
esac
|
|
fi
|
|
fi
|
|
])
|
|
|
|
AC_DEFUN([gl_GETOPT_SUBSTITUTE_HEADER],
|
|
[
|
|
AC_CHECK_HEADERS_ONCE([sys/cdefs.h])
|
|
if test $ac_cv_header_sys_cdefs_h = yes; then
|
|
HAVE_SYS_CDEFS_H=1
|
|
else
|
|
HAVE_SYS_CDEFS_H=0
|
|
fi
|
|
AC_SUBST([HAVE_SYS_CDEFS_H])
|
|
|
|
AC_DEFINE([__GETOPT_PREFIX], [[rpl_]],
|
|
[Define to rpl_ if the getopt replacement functions and variables
|
|
should be used.])
|
|
GETOPT_H=getopt.h
|
|
GETOPT_CDEFS_H=getopt-cdefs.h
|
|
AC_SUBST([GETOPT_H])
|
|
AC_SUBST([GETOPT_CDEFS_H])
|
|
])
|