diff options
author | Bruno Haible <bruno@clisp.org> | 2011-05-22 00:11:35 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2011-06-16 00:06:46 +0200 |
commit | f5d5c90de1d7a944224e9e8b4132fee006602dde (patch) | |
tree | c061fbbd406cbeb01ebcebfe3d7889b2fa4aca25 | |
parent | 46806eb257a174bd245758d0d724a26416254479 (diff) | |
download | gnulib-f5d5c90de1d7a944224e9e8b4132fee006602dde.tar.gz |
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
here...
* modules/sig2str (configure.ac): ... to here.
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | m4/sig2str.m4 | 8 | ||||
-rw-r--r-- | modules/sig2str | 4 |
3 files changed, 14 insertions, 6 deletions
@@ -1,5 +1,13 @@ 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 + here... + * modules/sig2str (configure.ac): ... to here. + +2011-05-21 Bruno Haible <bruno@clisp.org> + setlocale: Move AC_LIBOBJ invocations to module description. * m4/setlocale.m4 (gl_FUNC_SETLOCALE): Move AC_LIBOBJ and gl_PREREQ_SETLOCALE invocations from here... diff --git a/m4/sig2str.m4 b/m4/sig2str.m4 index bafc6b6f95..2c394cf39b 100644 --- a/m4/sig2str.m4 +++ b/m4/sig2str.m4 @@ -1,4 +1,4 @@ -# serial 6 +# serial 7 dnl Copyright (C) 2002, 2005-2006, 2009-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, @@ -6,11 +6,7 @@ dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_SIG2STR], [ - - AC_REPLACE_FUNCS([sig2str]) - if test $ac_cv_func_sig2str = no; then - gl_PREREQ_SIG2STR - fi + AC_CHECK_FUNCS([sig2str]) ]) # Prerequisites of lib/sig2str.c. diff --git a/modules/sig2str b/modules/sig2str index 89d00cc63e..ccc26a90f6 100644 --- a/modules/sig2str +++ b/modules/sig2str @@ -11,6 +11,10 @@ intprops configure.ac: gl_FUNC_SIG2STR +if test $ac_cv_func_sig2str = no; then + AC_LIBOBJ([sig2str]) + gl_PREREQ_SIG2STR +fi Makefile.am: |