sigprocmask: Move AC_LIBOBJ invocations to module description.
authorBruno Haible <bruno@clisp.org>
Sat, 21 May 2011 22:18:29 +0000 (00:18 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 15 Jun 2011 22:06:47 +0000 (00:06 +0200)
* m4/signalblocking.m4 (gl_SIGNALBLOCKING): Move AC_LIBOBJ and
gl_PREREQ_SIGPROMASK invocations from here...
* modules/sigprocmask (configure.ac): ... to here.

ChangeLog
m4/signalblocking.m4
modules/sigprocmask

index e89273b..ab702c6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2011-05-21  Bruno Haible  <bruno@clisp.org>
 
+       sigprocmask: Move AC_LIBOBJ invocations to module description.
+       * m4/signalblocking.m4 (gl_SIGNALBLOCKING): Move AC_LIBOBJ and
+       gl_PREREQ_SIGPROMASK invocations from here...
+       * modules/sigprocmask (configure.ac): ... to here.
+
+2011-05-21  Bruno Haible  <bruno@clisp.org>
+
        sigaction: Move AC_LIBOBJ invocations to module description.
        * m4/sigaction.m4 (gl_SIGACTION): Move AC_LIBOBJ and
        gl_PREREQ_SIGACTION invocations from here...
index 5ad8dbf..6e83f1b 100644 (file)
@@ -1,4 +1,4 @@
-# signalblocking.m4 serial 10
+# signalblocking.m4 serial 11
 dnl Copyright (C) 2001-2002, 2006-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,
@@ -19,8 +19,6 @@ AC_DEFUN([gl_SIGNALBLOCKING],
   fi
   if test -z "$gl_cv_func_sigprocmask"; then
     HAVE_POSIX_SIGNALBLOCKING=0
-    AC_LIBOBJ([sigprocmask])
-    gl_PREREQ_SIGPROCMASK
   fi
 ])
 
index fee745f..ba12f39 100644 (file)
@@ -12,6 +12,10 @@ raise           [test $HAVE_POSIX_SIGNALBLOCKING = 0]
 
 configure.ac:
 gl_SIGNALBLOCKING
+if test $HAVE_POSIX_SIGNALBLOCKING = 0; then
+  AC_LIBOBJ([sigprocmask])
+  gl_PREREQ_SIGPROCMASK
+fi
 gl_SIGNAL_MODULE_INDICATOR([sigprocmask])
 
 Makefile.am: