* tests/test-signal-c++.cc: Check declaration of pthread_sigmask.
* modules/signal-c++-tests (Makefile.am): Link test-signal-c++ against
$(LIB_PTHREAD_SIGMASK).
+2011-07-07 Bruno Haible <bruno@clisp.org>
+
+ signal-c++-tests: Check declaration of pthread_sigmask.
+ * tests/test-signal-c++.cc: Check declaration of pthread_sigmask.
+ * modules/signal-c++-tests (Makefile.am): Link test-signal-c++ against
+ $(LIB_PTHREAD_SIGMASK).
+
2011-07-07 Bruno Haible <bruno@clisp.org>
pthread_sigmask: Fix link requirements on OSF/1 5.1 and with pth.
TESTS += test-signal-c++
check_PROGRAMS += test-signal-c++
test_signal_c___SOURCES = test-signal-c++.cc test-signal-c++2.cc
-test_signal_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_NANOSLEEP)
+test_signal_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_NANOSLEEP) $(LIB_PTHREAD_SIGMASK)
endif
#include "signature.h"
+#if GNULIB_TEST_PTHREAD_SIGMASK
+SIGNATURE_CHECK (GNULIB_NAMESPACE::pthread_sigmask, int,
+ (int, const sigset_t *, sigset_t *));
+#endif
+
#if GNULIB_TEST_SIGPROCMASK
SIGNATURE_CHECK (GNULIB_NAMESPACE::sigismember, int, (const sigset_t *, int));
SIGNATURE_CHECK (GNULIB_NAMESPACE::sigemptyset, int, (sigset_t *));