diff options
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 | ]) |
