ceilf: Move AC_LIBOBJ invocations to module description.
authorBruno Haible <bruno@clisp.org>
Sat, 21 May 2011 08:56:23 +0000 (10:56 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 15 Jun 2011 22:06:18 +0000 (00:06 +0200)
* m4/ceilf.m4 (gl_FUNC_CEILF): Move AC_LIBOBJ invocation from here...
* modules/ceilf (configure.ac): ... to here.

ChangeLog
m4/ceilf.m4
modules/ceilf

index 11ef54954d0ea46d3c5cf7e3cf3335fea20c7698..2438f9db93dff1b236583c390eadba565396986d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-05-21  Bruno Haible  <bruno@clisp.org>
+
+       ceilf: Move AC_LIBOBJ invocations to module description.
+       * m4/ceilf.m4 (gl_FUNC_CEILF): Move AC_LIBOBJ invocation from here...
+       * modules/ceilf (configure.ac): ... to here.
+
 2011-05-21  Bruno Haible  <bruno@clisp.org>
 
        floorl: Respect rules for use of AC_LIBOBJ.
index e7a6a461c29df973eb8202daac8259ce71308ffb..9161a513bfbe628d735d5c53e5da3824950a6a4b 100644 (file)
@@ -1,4 +1,4 @@
-# ceilf.m4 serial 8
+# ceilf.m4 serial 9
 dnl Copyright (C) 2007, 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,
@@ -58,7 +58,7 @@ int main()
     HAVE_DECL_CEILF=0
   fi
   if test $HAVE_DECL_CEILF = 0 || test $REPLACE_CEILF = 1; then
-    AC_LIBOBJ([ceilf])
+    dnl No libraries are needed to link lib/ceilf.c.
     CEILF_LIBM=
   fi
   AC_SUBST([CEILF_LIBM])
index beba067aea5467fcafe0337a2400268f7a7eeb50..0a01465d1ee265d72c0a9e77b89c4535a9e0fe37 100644 (file)
@@ -13,6 +13,9 @@ float           [test $HAVE_DECL_CEILF = 0 || test $REPLACE_CEILF = 1]
 
 configure.ac:
 gl_FUNC_CEILF
+if test $HAVE_DECL_CEILF = 0 || test $REPLACE_CEILF = 1; then
+  AC_LIBOBJ([ceilf])
+fi
 gl_MATH_MODULE_INDICATOR([ceilf])
 
 Makefile.am: