diff options
| author | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2023-02-19 14:39:08 +0100 |
|---|---|---|
| committer | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2023-02-19 14:39:08 +0100 |
| commit | 74b6984047d330a3cc7cb7f63645849fe7676c63 (patch) | |
| tree | 65a26800103d8d66f7e6cb4acfbfc9f315ec750b /gl/m4/error.m4 | |
| parent | 423284edfa980fc3fdb51ab20af96685a988ba97 (diff) | |
| parent | c07206f2ccc2356aa74bc6813a94c2190017d44e (diff) | |
| download | monitoring-plugins-74b6984047d330a3cc7cb7f63645849fe7676c63.tar.gz | |
Merge branch 'master' into check_icmp_cleanup
Diffstat (limited to 'gl/m4/error.m4')
| -rw-r--r-- | gl/m4/error.m4 | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/gl/m4/error.m4 b/gl/m4/error.m4 index 29e6fdc9..8cc75dff 100644 --- a/gl/m4/error.m4 +++ b/gl/m4/error.m4 | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | #serial 14 | 1 | #serial 15 |
| 2 | 2 | ||
| 3 | # Copyright (C) 1996-1998, 2001-2004, 2009-2013 Free Software Foundation, Inc. | 3 | # Copyright (C) 1996-1998, 2001-2004, 2009-2023 Free Software Foundation, Inc. |
| 4 | # | 4 | # |
| 5 | # This file is free software; the Free Software Foundation | 5 | # This file is free software; the Free Software Foundation |
| 6 | # gives unlimited permission to copy and/or distribute it, | 6 | # gives unlimited permission to copy and/or distribute it, |
| @@ -22,6 +22,10 @@ AC_DEFUN([gl_ERROR], | |||
| 22 | # Prerequisites of lib/error.c. | 22 | # Prerequisites of lib/error.c. |
| 23 | AC_DEFUN([gl_PREREQ_ERROR], | 23 | AC_DEFUN([gl_PREREQ_ERROR], |
| 24 | [ | 24 | [ |
| 25 | dnl Use system extensions on Android, so that AC_FUNC_STRERROR_R | ||
| 26 | dnl discovers the GNU API for strerror_r on Android API level 23 and later. | ||
| 27 | AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) | ||
| 28 | |||
| 25 | AC_REQUIRE([AC_FUNC_STRERROR_R]) | 29 | AC_REQUIRE([AC_FUNC_STRERROR_R]) |
| 26 | : | 30 | : |
| 27 | ]) | 31 | ]) |
