diff options
author | Bruno Haible <bruno@clisp.org> | 2011-05-21 02:58:01 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2011-06-16 00:06:15 +0200 |
commit | 9d1c4ad5a018213d1c034ef36e7ff424774ffb40 (patch) | |
tree | 600eda3cc2af3f267ce2de823049d3191872043a | |
parent | 54027f28c18b962ba4ac013e34207c6577fb445f (diff) | |
download | gnulib-9d1c4ad5a018213d1c034ef36e7ff424774ffb40.tar.gz |
frexpl*: Respect rules for use of AC_LIBOBJ.
* m4/frexpl.m4 (gl_FUNC_FREXPL, gl_FUNC_FREXPL_NO_LIBM): Move AC_LIBOBJ
invocation from here...
* modules/frexpl (configure.ac): ... to here.
* modules/frexpl-nolibm (configure.ac): ... and here.
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | m4/frexpl.m4 | 8 | ||||
-rw-r--r-- | modules/frexpl | 3 | ||||
-rw-r--r-- | modules/frexpl-nolibm | 3 |
4 files changed, 15 insertions, 7 deletions
@@ -1,5 +1,13 @@ 2011-05-20 Bruno Haible <bruno@clisp.org> + frexpl*: Respect rules for use of AC_LIBOBJ. + * m4/frexpl.m4 (gl_FUNC_FREXPL, gl_FUNC_FREXPL_NO_LIBM): Move AC_LIBOBJ + invocation from here... + * modules/frexpl (configure.ac): ... to here. + * modules/frexpl-nolibm (configure.ac): ... and here. + +2011-05-20 Bruno Haible <bruno@clisp.org> + frexp, frexp-nolibm: Move AC_LIBOBJ invocations to module description. * m4/frexp.m4 (gl_FUNC_FREXP, gl_FUNC_FREXP_NO_LIBM): Move AC_LIBOBJ invocation from here... diff --git a/m4/frexpl.m4 b/m4/frexpl.m4 index 49d8821ce4..63fcb1a8b4 100644 --- a/m4/frexpl.m4 +++ b/m4/frexpl.m4 @@ -1,4 +1,4 @@ -# frexpl.m4 serial 13 +# frexpl.m4 serial 14 dnl Copyright (C) 2007-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, @@ -50,9 +50,6 @@ AC_DEFUN([gl_FUNC_FREXPL], [Define if the frexpl() function is available.]) fi fi - if test $HAVE_DECL_FREXPL = 0 || test $gl_func_frexpl = no; then - AC_LIBOBJ([frexpl]) - fi AC_SUBST([FREXPL_LIBM]) ]) @@ -80,9 +77,6 @@ AC_DEFUN([gl_FUNC_FREXPL_NO_LIBM], [Define if the frexpl() function is available in libc.]) fi fi - if test $HAVE_DECL_FREXPL = 0 || test $gl_func_frexpl_no_libm = no; then - AC_LIBOBJ([frexpl]) - fi ]) dnl Test whether frexpl() can be used without linking with libm. diff --git a/modules/frexpl b/modules/frexpl index d1f0159b63..9902aff0e0 100644 --- a/modules/frexpl +++ b/modules/frexpl @@ -13,6 +13,9 @@ fpucw [test $HAVE_DECL_FREXPL = 0 || test $gl_func_frexpl = no] configure.ac: gl_FUNC_FREXPL +if test $HAVE_DECL_FREXPL = 0 || test $gl_func_frexpl = no; then + AC_LIBOBJ([frexpl]) +fi gl_MATH_MODULE_INDICATOR([frexpl]) Makefile.am: diff --git a/modules/frexpl-nolibm b/modules/frexpl-nolibm index dbe1a82820..ec1acd2f09 100644 --- a/modules/frexpl-nolibm +++ b/modules/frexpl-nolibm @@ -14,6 +14,9 @@ fpucw [test $HAVE_DECL_FREXPL = 0 || test $gl_func_frexpl_no_libm = no configure.ac: gl_FUNC_FREXPL_NO_LIBM +if test $HAVE_DECL_FREXPL = 0 || test $gl_func_frexpl_no_libm = no; then + AC_LIBOBJ([frexpl]) +fi gl_MATH_MODULE_INDICATOR([frexpl]) Makefile.am: |