diff options
author | Bruno Haible <bruno@clisp.org> | 2011-07-08 02:11:26 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2011-07-08 02:11:26 +0200 |
commit | 99549d6d0b828b45ce540062b435c06a71b847e7 (patch) | |
tree | 5627e682476f2ec39264067f01d420c81c0cba6c | |
parent | bfb5ec49acc21828edb68ebfe93b94c43b044200 (diff) | |
download | gnulib-99549d6d0b828b45ce540062b435c06a71b847e7.tar.gz |
pthread_sigmask: Follow gnulib conventions.
* m4/pthread_sigmask.m4 (gl_FUNC_PTHREAD_SIGMASK): Renamed from
gl_PTHREAD_SIGMASK.
* modules/pthread_sigmask (configure.ac): Update.
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | m4/pthread_sigmask.m4 | 4 | ||||
-rw-r--r-- | modules/pthread_sigmask | 2 |
3 files changed, 10 insertions, 3 deletions
@@ -1,5 +1,12 @@ 2011-07-07 Bruno Haible <bruno@clisp.org> + 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 <bruno@clisp.org> + 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 aa2904a8be..2147c08fca 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 f2a77a0ef9..8f1a0a0c30 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 |