install-reloc: Support multi-binary installation.
[gnulib.git] / modules / pthread_sigmask
index d117b2d..f451259 100644 (file)
@@ -2,14 +2,20 @@ Description:
 POSIX compatible signal blocking for threads.
 
 Files:
+lib/pthread_sigmask.c
 m4/pthread_sigmask.m4
 
 Depends-on:
-signal
-sigprocmask     [test $REPLACE_PTHREAD_SIGMASK = 1]
+signal-h
+threadlib
+sigprocmask     [test $HAVE_PTHREAD_SIGMASK = 0 || test $REPLACE_PTHREAD_SIGMASK = 1]
 
 configure.ac:
-gl_PTHREAD_SIGMASK
+gl_FUNC_PTHREAD_SIGMASK
+if test $HAVE_PTHREAD_SIGMASK = 0 || test $REPLACE_PTHREAD_SIGMASK = 1; then
+  AC_LIBOBJ([pthread_sigmask])
+  gl_PREREQ_PTHREAD_SIGMASK
+fi
 gl_SIGNAL_MODULE_INDICATOR([pthread_sigmask])
 
 Makefile.am:
@@ -18,7 +24,7 @@ Include:
 <signal.h>
 
 Link:
-$(LIBMULTITHREAD)
+$(LIB_PTHREAD_SIGMASK)
 
 License:
 LGPLv2+