+2020-09-17 Bruno Haible <bruno@clisp.org>
+
+ sigprocmask: Fix configuration failure on Solaris 10 (regr. 2020-07-25).
+ * m4/gnulib-common.m4 (GL_TMP_FD): New macro.
+ (gl_SILENT): Use 'exec', not a compound statement, to redirect
+ AS_MESSAGE_FD.
+
2020-09-17 Paul Eggert <eggert@cs.ucla.edu>
intprops, xalloc: avoid __builtin_mul_overflow_p with Clang
-# gnulib-common.m4 serial 57
+# gnulib-common.m4 serial 58
dnl Copyright (C) 2007-2020 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
AC_C_BIGENDIAN
])
+# A temporary file descriptor.
+# Must be less than 10, because dash 0.5.8 does not support redirections
+# with multi-digit file descriptors.
+m4_define([GL_TMP_FD], 9)
+
# gl_SILENT(command)
# executes command, but without the normal configure output.
AC_DEFUN([gl_SILENT],
[
- {
- $1
- } AS_MESSAGE_FD>/dev/null
+ exec GL_TMP_FD>&AS_MESSAGE_FD AS_MESSAGE_FD>/dev/null
+ $1
+ exec AS_MESSAGE_FD>&GL_TMP_FD AS_MESSAGE_FD>&-
])
# gl_CACHE_VAL_SILENT(cache-id, command-to-set-it)