diff options
| author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-12-28 12:13:40 +0100 |
|---|---|---|
| committer | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-12-28 12:13:40 +0100 |
| commit | b0afb8fe0ff1d87165af9df61501197a06240dda (patch) | |
| tree | 274ac6a96c53ef4c19ab4974ce24a06a233128c5 /gl/m4/error_h.m4 | |
| parent | 68fc05381ee5fa0aee1413118fbb3d81ca888b09 (diff) | |
| download | monitoring-plugins-b0afb8fe0ff1d87165af9df61501197a06240dda.tar.gz | |
Sync with Gnulib stable-202507 code (a8ac9f9ce5)
Diffstat (limited to 'gl/m4/error_h.m4')
| -rw-r--r-- | gl/m4/error_h.m4 | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/gl/m4/error_h.m4 b/gl/m4/error_h.m4 index 050a410c..4ef5cbff 100644 --- a/gl/m4/error_h.m4 +++ b/gl/m4/error_h.m4 | |||
| @@ -1,9 +1,10 @@ | |||
| 1 | # error_h.m4 | 1 | # error_h.m4 |
| 2 | # serial 4 | 2 | # serial 5 |
| 3 | dnl Copyright (C) 1996-2024 Free Software Foundation, Inc. | 3 | dnl Copyright (C) 1996-2025 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. |
| 7 | dnl This file is offered as-is, without any warranty. | ||
| 7 | 8 | ||
| 8 | dnl From Bruno Haible. | 9 | dnl From Bruno Haible. |
| 9 | dnl Provide a working <error.h>. | 10 | dnl Provide a working <error.h>. |
| @@ -111,12 +112,15 @@ AC_DEFUN_ONCE([gl_ERROR_H], | |||
| 111 | esac | 112 | esac |
| 112 | fi | 113 | fi |
| 113 | 114 | ||
| 114 | if test $HAVE_ERROR = 0 || test $REPLACE_ERROR = 1 \ | 115 | m4_ifdef([gl_HAVE_MODULE_VERROR], |
| 115 | || test $HAVE_ERROR_AT_LINE = 0 || test $REPLACE_ERROR_AT_LINE = 1; then | 116 | [COMPILE_ERROR_C=1], |
| 116 | COMPILE_ERROR_C=1 | 117 | [if test $HAVE_ERROR = 0 || test $REPLACE_ERROR = 1 \ |
| 117 | else | 118 | || test $HAVE_ERROR_AT_LINE = 0 \ |
| 118 | COMPILE_ERROR_C=0 | 119 | || test $REPLACE_ERROR_AT_LINE = 1; then |
| 119 | fi | 120 | COMPILE_ERROR_C=1 |
| 121 | else | ||
| 122 | COMPILE_ERROR_C=0 | ||
| 123 | fi]) | ||
| 120 | 124 | ||
| 121 | AC_SUBST([HAVE_ERROR]) | 125 | AC_SUBST([HAVE_ERROR]) |
| 122 | AC_SUBST([HAVE_ERROR_AT_LINE]) | 126 | AC_SUBST([HAVE_ERROR_AT_LINE]) |
