From 1220e4a7f18c5566c6cd3bc28250e3b91329958c Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 22 May 2011 00:18:29 +0200 Subject: [PATCH] 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. --- ChangeLog | 7 +++++++ m4/signalblocking.m4 | 4 +--- modules/sigprocmask | 4 ++++ 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index e89273b8d..ab702c66d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 2011-05-21 Bruno Haible + 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 + sigaction: Move AC_LIBOBJ invocations to module description. * m4/sigaction.m4 (gl_SIGACTION): Move AC_LIBOBJ and gl_PREREQ_SIGACTION invocations from here... diff --git a/m4/signalblocking.m4 b/m4/signalblocking.m4 index 5ad8dbf8d..6e83f1b14 100644 --- a/m4/signalblocking.m4 +++ b/m4/signalblocking.m4 @@ -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 ]) diff --git a/modules/sigprocmask b/modules/sigprocmask index fee745fa6..ba12f393b 100644 --- a/modules/sigprocmask +++ b/modules/sigprocmask @@ -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: -- 2.11.0