summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2023-04-27 15:26:37 +0200
committerBruno Haible <bruno@clisp.org>2023-04-27 15:26:37 +0200
commitca6c179226864bff23f2b062518cf885bb42ce56 (patch)
treeef3d1bf99eedeec0aa2b89010f41758b4e842d65
parentd52f9c5197805e44c867819c2f1a4e1b4a195740 (diff)
downloadgnulib-ca6c179226864bff23f2b062518cf885bb42ce56.tar.gz
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.
-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
])