From 99549d6d0b828b45ce540062b435c06a71b847e7 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Fri, 8 Jul 2011 02:11:26 +0200 Subject: [PATCH] pthread_sigmask: Follow gnulib conventions. * m4/pthread_sigmask.m4 (gl_FUNC_PTHREAD_SIGMASK): Renamed from gl_PTHREAD_SIGMASK. * modules/pthread_sigmask (configure.ac): Update. --- ChangeLog | 7 +++++++ m4/pthread_sigmask.m4 | 4 ++-- modules/pthread_sigmask | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index b3fa05e1d..4cab46fdc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 2011-07-07 Bruno Haible + pthread_sigmask: Follow gnulib conventions. + * m4/pthread_sigmask.m4 (gl_FUNC_PTHREAD_SIGMASK): Renamed from + gl_PTHREAD_SIGMASK. + * modules/pthread_sigmask (configure.ac): Update. + +2011-07-07 Bruno Haible + pthread_sigmask: Make declaration C++ safe. * lib/signal.in.h: In two special conditions, just do an #include_next. (pthread_sigmask): Test HAVE_PTHREAD_SIGMASK, not REPLACE_PTHREAD_MASK. diff --git a/m4/pthread_sigmask.m4 b/m4/pthread_sigmask.m4 index aa2904a8b..2147c08fc 100644 --- a/m4/pthread_sigmask.m4 +++ b/m4/pthread_sigmask.m4 @@ -1,10 +1,10 @@ -# pthread_sigmask.m4 serial 3 +# pthread_sigmask.m4 serial 4 dnl Copyright (C) 2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. -AC_DEFUN([gl_PTHREAD_SIGMASK], +AC_DEFUN([gl_FUNC_PTHREAD_SIGMASK], [ m4_ifdef([gl_THREADLIB], [ AC_REQUIRE([gl_THREADLIB]) diff --git a/modules/pthread_sigmask b/modules/pthread_sigmask index f2a77a0ef..8f1a0a0c3 100644 --- a/modules/pthread_sigmask +++ b/modules/pthread_sigmask @@ -10,7 +10,7 @@ signal sigprocmask [test $HAVE_PTHREAD_SIGMASK = 0] configure.ac: -gl_PTHREAD_SIGMASK +gl_FUNC_PTHREAD_SIGMASK if test $HAVE_PTHREAD_SIGMASK = 0; then AC_LIBOBJ([pthread_sigmask]) fi -- 2.11.0