sigaction: Move AC_LIBOBJ invocations to module description.
authorBruno Haible <bruno@clisp.org>
Sat, 21 May 2011 22:14:35 +0000 (00:14 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 15 Jun 2011 22:06:46 +0000 (00:06 +0200)
* m4/sigaction.m4 (gl_SIGACTION): Move AC_LIBOBJ and
gl_PREREQ_SIGACTION invocations from here...
* modules/sigaction (configure.ac): ... to here.

ChangeLog
m4/sigaction.m4
modules/sigaction

index 281dfd8..e89273b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 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...
+       * modules/sigaction (configure.ac): ... to here.
+
+2011-05-21  Bruno Haible  <bruno@clisp.org>
+
        sig2str: Move AC_LIBOBJ invocations to module description.
        * m4/sig2str.m4 (gl_FUNC_SIG2STR): Call AC_CHECK_FUNCS instead of
        AC_REPLACE_FUNCS. Move AC_LIBOBJ and gl_PREREQ_SIG2STR invocations from
index ce82232..b365e26 100644 (file)
@@ -1,4 +1,4 @@
-# sigaction.m4 serial 5
+# sigaction.m4 serial 6
 dnl Copyright (C) 2008-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,
@@ -17,8 +17,6 @@ AC_DEFUN([gl_SIGACTION],
     fi
   else
     HAVE_SIGACTION=0
-    AC_LIBOBJ([sigaction])
-    gl_PREREQ_SIGACTION
   fi
 ])
 
index 93b848a..9fde5f6 100644 (file)
@@ -12,6 +12,10 @@ sigprocmask     [test $HAVE_SIGACTION = 0]
 
 configure.ac:
 gl_SIGACTION
+if test $HAVE_SIGACTION = 0; then
+  AC_LIBOBJ([sigaction])
+  gl_PREREQ_SIGACTION
+fi
 gl_SIGNAL_MODULE_INDICATOR([sigaction])
 
 Makefile.am: