From: Bruno Haible Date: Sat, 21 May 2011 00:49:55 +0000 (+0200) Subject: frexp, frexp-nolibm: Move AC_LIBOBJ invocations to module description. X-Git-Tag: v0.1~2529 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=54027f28c18b962ba4ac013e34207c6577fb445f;p=gnulib.git 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... * modules/frexp (configure.ac): ... to here. * modules/frexp-nolibm (configure.ac): ... and here. --- diff --git a/ChangeLog b/ChangeLog index 56de524e7..306d6098c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,13 @@ 2011-05-20 Bruno Haible + 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... + * modules/frexp (configure.ac): ... to here. + * modules/frexp-nolibm (configure.ac): ... and here. + +2011-05-20 Bruno Haible + isnan: Respect rules for use of AC_LIBOBJ. * m4/isnan.m4 (gl_ISNAN): Don't do the AC_LIBOBJ and gl_PREREQ_ISNAN* invocations here. diff --git a/m4/frexp.m4 b/m4/frexp.m4 index 2e0fb3b47..0021ed2b9 100644 --- a/m4/frexp.m4 +++ b/m4/frexp.m4 @@ -1,4 +1,4 @@ -# frexp.m4 serial 10 +# frexp.m4 serial 11 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, @@ -44,8 +44,6 @@ AC_DEFUN([gl_FUNC_FREXP], if test $gl_func_frexp = yes; then AC_DEFINE([HAVE_FREXP], [1], [Define if the frexp() function is available and works.]) - else - AC_LIBOBJ([frexp]) fi AC_SUBST([FREXP_LIBM]) ]) @@ -68,8 +66,6 @@ AC_DEFUN([gl_FUNC_FREXP_NO_LIBM], if test $gl_func_frexp_no_libm = yes; then AC_DEFINE([HAVE_FREXP_IN_LIBC], [1], [Define if the frexp() function is available in libc.]) - else - AC_LIBOBJ([frexp]) fi ]) diff --git a/modules/frexp b/modules/frexp index 3ada9b2f2..2e896995e 100644 --- a/modules/frexp +++ b/modules/frexp @@ -11,6 +11,9 @@ isnand-nolibm [test $gl_func_frexp != yes] configure.ac: gl_FUNC_FREXP +if test $gl_func_frexp != yes; then + AC_LIBOBJ([frexp]) +fi gl_MATH_MODULE_INDICATOR([frexp]) Makefile.am: diff --git a/modules/frexp-nolibm b/modules/frexp-nolibm index 34eb958a9..6791fe1c4 100644 --- a/modules/frexp-nolibm +++ b/modules/frexp-nolibm @@ -11,6 +11,9 @@ isnand-nolibm [test $gl_func_frexp_no_libm != yes] configure.ac: gl_FUNC_FREXP_NO_LIBM +if test $gl_func_frexp_no_libm != yes; then + AC_LIBOBJ([frexp]) +fi gl_MATH_MODULE_INDICATOR([frexp]) Makefile.am: