From d07c0f9749164655b7198f83596e6af874960ffc Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Mon, 3 Aug 2020 23:43:55 +0200 Subject: [PATCH] sigprocmask: Try to avoid breakage for people who use an Autoconf cache. * m4/signalblocking.m4 (gl_SIGNALBLOCKING): Change the name of the cache variable. --- ChangeLog | 6 ++++++ m4/signalblocking.m4 | 12 ++++++------ 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index ff7b2eb8b0..526747ed84 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2020-08-03 Bruno Haible + + 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 (tiny change) fopen: Avoid undesired interactions with glibc headers. diff --git a/m4/signalblocking.m4 b/m4/signalblocking.m4 index 0f72dd2870..cc0ca86bcb 100644 --- a/m4/signalblocking.m4 +++ b/m4/signalblocking.m4 @@ -1,4 +1,4 @@ -# 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, @@ -14,18 +14,18 @@ AC_DEFUN([gl_SIGNALBLOCKING], 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 ]) -- 2.39.5