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 e89273b8d435ff60160fed3dc59f648e2f2518d5..ab702c66d0152c5ea637bbcd80c3664968972b35 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+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.
index 5ad8dbf8d6bcd0f150a5c0182a3c37146977e226..6e83f1b141d458bb746fb3a671bf64d37605af88 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 fee745fa68db4f78b1902e45a59520779e2feffe..ba12f393b7d8a281210c897c037ae5f448eae4d8 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: