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 56de524e7ac242992393a527267799c5d21cc65e..306d6098c776abc60ac80386f2d0b0440cc82851 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+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.
index 2e0fb3b47142cd9714cadf59f81c526a63021bfb..0021ed2b92a9b1367de0c48228c1b431aeec86b6 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 3ada9b2f298c03376c4c83310c8415312dd948ac..2e896995e7a8a49fe42adf61b0d8bd210d26a83f 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 34eb958a9915caabb84c63e3d00e179a45069ba5..6791fe1c4923e6866bf32bb8f3fda69a4caeb67c 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: