frexp, frexp-nolibm: Move AC_LIBOBJ invocations to module description.
authorBruno Haible <bruno@clisp.org>
Sat, 21 May 2011 00:49:55 +0000 (02:49 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 15 Jun 2011 22:06:15 +0000 (00:06 +0200)
* 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.

ChangeLog
m4/frexp.m4
modules/frexp
modules/frexp-nolibm

index 56de524..306d609 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
 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...
+       * modules/frexp (configure.ac): ... to here.
+       * modules/frexp-nolibm (configure.ac): ... and here.
+
+2011-05-20  Bruno Haible  <bruno@clisp.org>
+
        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.
index 2e0fb3b..0021ed2 100644 (file)
@@ -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
 ])
 
index 3ada9b2..2e89699 100644 (file)
@@ -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:
index 34eb958..6791fe1 100644 (file)
@@ -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: