+2020-08-03 Bruno Haible <bruno@clisp.org>
+
+ sigprocmask: Try to avoid breakage for people who use an Autoconf cache.
+ * m4/signalblocking.m4 (gl_SIGNALBLOCKING): Change the name of the cache
+ variable.
+
2020-08-03 Harald van Dijk <harald@gigawatt.nl> (tiny change)
fopen: Avoid undesired interactions with glibc headers.
-# signalblocking.m4 serial 15
+# signalblocking.m4 serial 16
dnl Copyright (C) 2001-2002, 2006-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_REQUIRE([gl_SIGNAL_H_DEFAULTS])
AC_REQUIRE([gl_CHECK_TYPE_SIGSET_T])
AC_CACHE_CHECK([for sigprocmask],
- [gl_cv_func_sigprocmask],
+ [gl_cv_func_sigprocmask_v16],
[if test $gl_cv_type_sigset_t = yes; then
gl_SILENT([
AC_CHECK_FUNC([sigprocmask],
- [gl_cv_func_sigprocmask=yes],
- [gl_cv_func_sigprocmask=no])
+ [gl_cv_func_sigprocmask_v16=yes],
+ [gl_cv_func_sigprocmask_v16=no])
])
else
- gl_cv_func_sigprocmask=no
+ gl_cv_func_sigprocmask_v16=no
fi
])
- if test $gl_cv_func_sigprocmask != yes; then
+ if test $gl_cv_func_sigprocmask_v16 != yes; then
HAVE_POSIX_SIGNALBLOCKING=0
fi
])