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

ChangeLog
m4/ceil.m4
modules/ceil

index 2438f9db93dff1b236583c390eadba565396986d..89befe0f8dd23391641c44c779bb2c2e9a70fda3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-05-21  Bruno Haible  <bruno@clisp.org>
+
+       ceil: Move AC_LIBOBJ invocations to module description.
+       * m4/ceil.m4 (gl_FUNC_CEIL): Move AC_LIBOBJ invocation from here...
+       * modules/ceil (configure.ac): ... to here.
+
 2011-05-21  Bruno Haible  <bruno@clisp.org>
 
        ceilf: Move AC_LIBOBJ invocations to module description.
index 21d04b468cc1bcdcf0b891704533e8068c8f3108..157407745b12524b16e594a24b409450591a52f5 100644 (file)
@@ -1,4 +1,4 @@
-# ceil.m4 serial 5
+# ceil.m4 serial 6
 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,
@@ -48,7 +48,7 @@ int main()
     fi
   ])
   if test $REPLACE_CEIL = 1; then
-    AC_LIBOBJ([ceil])
+    dnl No libraries are needed to link lib/ceil.c.
     CEIL_LIBM=
   fi
   AC_SUBST([CEIL_LIBM])
index 1a3a5de4968808784e71a22cff57019932b5988e..05ee345d392c7fc72a6bd0332310bc328057fe33 100644 (file)
@@ -11,6 +11,9 @@ float           [test $REPLACE_CEIL = 1]
 
 configure.ac:
 gl_FUNC_CEIL
+if test $REPLACE_CEIL = 1; then
+  AC_LIBOBJ([ceil])
+fi
 gl_MATH_MODULE_INDICATOR([ceil])
 
 Makefile.am: