summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--m4/stdlib_h.m44
2 files changed, 9 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index d508b96fed..ab1ea2148b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2023-04-27 Bruno Haible <bruno@clisp.org>
+
+ stdlib: Fix error when cross-compiling.
+ Reported by Pierre Labastie <pierre.labastie@neuf.fr> in
+ <https://lists.gnu.org/archive/html/bug-gnulib/2023-04/msg00220.html>.
+ * m4/stdlib_h.m4 (gl_STDLIB_H): Provide a 4th argument to AC_RUN_IFELSE.
+
2023-04-26 Paul Eggert <eggert@cs.ucla.edu>
freopen-safer: pacify GCC 13
diff --git a/m4/stdlib_h.m4 b/m4/stdlib_h.m4
index 3274ea4948..f47c1eb37b 100644
--- a/m4/stdlib_h.m4
+++ b/m4/stdlib_h.m4
@@ -1,4 +1,4 @@
-# stdlib_h.m4 serial 74
+# stdlib_h.m4 serial 75
dnl Copyright (C) 2007-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
@@ -66,7 +66,7 @@ int main ()
return result;
}]])],
[gl_cv_macro_MB_CUR_MAX_good=yes],
- [gl_cv_macro_MB_CUR_MAX_good=no]
+ [gl_cv_macro_MB_CUR_MAX_good=no],
[:])
fi
])