pthread_sigmask: Fix link requirements on OSF/1 5.1 and with pth.
authorBruno Haible <bruno@clisp.org>
Fri, 8 Jul 2011 02:05:45 +0000 (04:05 +0200)
committerBruno Haible <bruno@clisp.org>
Fri, 8 Jul 2011 02:05:45 +0000 (04:05 +0200)
commitfb3f754067034f95a9ed385284d4e42a1ec74449
tree4d76ec8412b3262a613a42bda8c5c85c32698918
parenta9042e00d8afa1e9304412568be26349f85ccd3c
pthread_sigmask: Fix link requirements on OSF/1 5.1 and with pth.

* lib/signal.in.h (pthread_sigmask): Override if
REPLACE_PTHREAD_SIGMASK is 1.
* m4/signal_h.m4 (gl_SIGNAL_H_DEFAULTS): Initialize
REPLACE_PTHREAD_SIGMASK.
* m4/pthread_sigmask.m4 (gl_FUNC_PTHREAD_SIGMASK): Set also
REPLACE_PTHREAD_SIGMASK. Set and substitute LIB_PTHREAD_SIGMASK.
* modules/signal (Makefile.am): Substitute REPLACE_PTHREAD_SIGMASK.
* modules/pthread_sigmask (Depends-on, configure.ac): Update condition.
(Link): Set to $(LIB_PTHREAD_SIGMASK), not $(LIBMULTITHREAD).
ChangeLog
lib/signal.in.h
m4/pthread_sigmask.m4
m4/signal_h.m4
modules/pthread_sigmask
modules/signal