summaryrefslogtreecommitdiff
path: root/m4/strerror_r.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/strerror_r.m4')
-rw-r--r--m4/strerror_r.m43
1 files changed, 2 insertions, 1 deletions
diff --git a/m4/strerror_r.m4 b/m4/strerror_r.m4
index 29b309221f..bc40ec294b 100644
--- a/m4/strerror_r.m4
+++ b/m4/strerror_r.m4
@@ -1,4 +1,4 @@
-# strerror_r.m4 serial 22
+# strerror_r.m4 serial 23
dnl Copyright (C) 2002, 2007-2021 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
@@ -37,6 +37,7 @@ AC_DEFUN([gl_FUNC_STRERROR_R],
# Prerequisites of lib/strerror_r.c.
AC_DEFUN([gl_PREREQ_STRERROR_R], [
+ AC_REQUIRE([AC_FUNC_STRERROR_R])
dnl glibc >= 2.3.4 and cygwin 1.7.9 have a function __xpg_strerror_r.
AC_CHECK_FUNCS_ONCE([__xpg_strerror_r])
AC_CHECK_FUNCS_ONCE([catgets])