]> Savannah Git Hosting - gnulib.git/commitdiff
sigprocmask: Try to avoid breakage for people who use an Autoconf cache.
authorBruno Haible <bruno@clisp.org>
Mon, 3 Aug 2020 21:43:55 +0000 (23:43 +0200)
committerBruno Haible <bruno@clisp.org>
Mon, 3 Aug 2020 21:45:02 +0000 (23:45 +0200)
* m4/signalblocking.m4 (gl_SIGNALBLOCKING): Change the name of the cache
variable.

ChangeLog
m4/signalblocking.m4

index ff7b2eb8b062fcdaec57069d69ca81d3d87faac2..526747ed849119fd7612736f55d97586c3f8d0e0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+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.
index 0f72dd2870a8f4e5af718c36d2446dac2c869433..cc0ca86bcbea658d285a9886a4cc9be995bc6c1c 100644 (file)
@@ -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
 ])