diff options
| author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2026-03-26 12:53:53 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-26 12:53:53 +0100 |
| commit | 13e14a6bfd9f29cbfeab0c5161d2a994f97532e7 (patch) | |
| tree | 3aa7186fe092e42783dc7e981dc39a74ea61c466 /gl/m4/getopt.m4 | |
| parent | 9d8503f90ef25b2cecd324dc118e441f40233ea8 (diff) | |
| download | monitoring-plugins-13e14a6bfd9f29cbfeab0c5161d2a994f97532e7.tar.gz | |
* Sync with the 202601-stable Gnulib code (4a3650d887)
* Ignore more deps stuff in gnulib
* Remove autogenerated gnulib files
* Ignore more gnulib generated headers
Diffstat (limited to 'gl/m4/getopt.m4')
| -rw-r--r-- | gl/m4/getopt.m4 | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/gl/m4/getopt.m4 b/gl/m4/getopt.m4 index cb344c15..c620b2b7 100644 --- a/gl/m4/getopt.m4 +++ b/gl/m4/getopt.m4 | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | # getopt.m4 | 1 | # getopt.m4 |
| 2 | # serial 50 | 2 | # serial 52 |
| 3 | dnl Copyright (C) 2002-2006, 2008-2025 Free Software Foundation, Inc. | 3 | dnl Copyright (C) 2002-2006, 2008-2026 Free Software Foundation, Inc. |
| 4 | dnl This file is free software; the Free Software Foundation | 4 | dnl This file is free software; the Free Software Foundation |
| 5 | dnl gives unlimited permission to copy and/or distribute it, | 5 | dnl gives unlimited permission to copy and/or distribute it, |
| 6 | dnl with or without modifications, as long as this notice is preserved. | 6 | dnl with or without modifications, as long as this notice is preserved. |
| @@ -88,8 +88,8 @@ AC_DEFUN([gl_GETOPT_CHECK_HEADERS], | |||
| 88 | dnl Merging these three different test programs into a single one | 88 | dnl Merging these three different test programs into a single one |
| 89 | dnl would require a reset mechanism. On BSD systems, it can be done | 89 | dnl would require a reset mechanism. On BSD systems, it can be done |
| 90 | dnl through 'optreset'; on some others (glibc), it can be done by | 90 | dnl through 'optreset'; on some others (glibc), it can be done by |
| 91 | dnl setting 'optind' to 0; on others again (HP-UX, IRIX, OSF/1, | 91 | dnl setting 'optind' to 0; on others again (HP-UX, Solaris 9, |
| 92 | dnl Solaris 9, musl libc), there is no such mechanism. | 92 | dnl musl libc), there is no such mechanism. |
| 93 | if test $cross_compiling = no; then | 93 | if test $cross_compiling = no; then |
| 94 | dnl Sanity check. Succeeds everywhere (except on MSVC, | 94 | dnl Sanity check. Succeeds everywhere (except on MSVC, |
| 95 | dnl which lacks <unistd.h> and getopt() entirely). | 95 | dnl which lacks <unistd.h> and getopt() entirely). |
| @@ -238,8 +238,7 @@ dnl is ambiguous with environment values that contain newlines. | |||
| 238 | nocrash_init(); | 238 | nocrash_init(); |
| 239 | 239 | ||
| 240 | /* This code succeeds on glibc 2.8, OpenBSD 4.0, Cygwin, mingw, | 240 | /* This code succeeds on glibc 2.8, OpenBSD 4.0, Cygwin, mingw, |
| 241 | and fails on Mac OS X 10.5, AIX 5.2, HP-UX 11, IRIX 6.5, | 241 | and fails on Mac OS X 10.5, AIX 5.2, HP-UX 11, Solaris 10. */ |
| 242 | OSF/1 5.1, Solaris 10. */ | ||
| 243 | { | 242 | { |
| 244 | static char conftest[] = "conftest"; | 243 | static char conftest[] = "conftest"; |
| 245 | static char plus[] = "-+"; | 244 | static char plus[] = "-+"; |
| @@ -250,7 +249,7 @@ dnl is ambiguous with environment values that contain newlines. | |||
| 250 | } | 249 | } |
| 251 | /* This code succeeds on glibc 2.8, mingw, | 250 | /* This code succeeds on glibc 2.8, mingw, |
| 252 | and fails on Mac OS X 10.5, OpenBSD 4.0, AIX 5.2, HP-UX 11, | 251 | and fails on Mac OS X 10.5, OpenBSD 4.0, AIX 5.2, HP-UX 11, |
| 253 | IRIX 6.5, OSF/1 5.1, Solaris 10, Cygwin 1.5.x. */ | 252 | Solaris 10, Cygwin 1.5.x. */ |
| 254 | { | 253 | { |
| 255 | static char program[] = "program"; | 254 | static char program[] = "program"; |
| 256 | static char p[] = "-p"; | 255 | static char p[] = "-p"; |
