3 dnl Copyright (C) 1996-1998, 2001-2004, 2009-2024 Free Software Foundation, Inc.
4 dnl This file is free software; the Free Software Foundation
5 dnl gives unlimited permission to copy and/or distribute it,
6 dnl with or without modifications, as long as this notice is preserved.
12 # Prerequisites of lib/error.c.
13 AC_DEFUN([gl_PREREQ_ERROR],
15 dnl Use system extensions on Android, so that AC_FUNC_STRERROR_R
16 dnl discovers the GNU API for strerror_r on Android API level 23 and later.
17 AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
19 AC_REQUIRE([AC_FUNC_STRERROR_R])