From c7ec6c94aebd5e484cd8bcf7fb040f497fcc965c Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 22 May 2011 00:14:35 +0200 Subject: [PATCH] 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. --- ChangeLog | 7 +++++++ m4/sigaction.m4 | 4 +--- modules/sigaction | 4 ++++ 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 281dfd85f..e89273b8d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 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... + * modules/sigaction (configure.ac): ... to here. + +2011-05-21 Bruno Haible + 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 diff --git a/m4/sigaction.m4 b/m4/sigaction.m4 index ce8223260..b365e2651 100644 --- a/m4/sigaction.m4 +++ b/m4/sigaction.m4 @@ -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 ]) diff --git a/modules/sigaction b/modules/sigaction index 93b848aca..9fde5f69e 100644 --- a/modules/sigaction +++ b/modules/sigaction @@ -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: -- 2.11.0