ceill: Move AC_LIBOBJ invocations to module description.
authorBruno Haible <bruno@clisp.org>
Sat, 21 May 2011 09:00:42 +0000 (11:00 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 15 Jun 2011 22:06:18 +0000 (00:06 +0200)
* m4/ceill.m4 (gl_FUNC_CEILL): Move AC_LIBOBJ invocation from here...
* modules/ceill (configure.ac): ... to here.

ChangeLog
m4/ceill.m4
modules/ceill

index 89befe0..7d8e7f4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2011-05-21  Bruno Haible  <bruno@clisp.org>
 
+       ceill: Move AC_LIBOBJ invocations to module description.
+       * m4/ceill.m4 (gl_FUNC_CEILL): Move AC_LIBOBJ invocation from here...
+       * modules/ceill (configure.ac): ... to here.
+
+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.
index 71ac74f..8116de1 100644 (file)
@@ -1,4 +1,4 @@
-# ceill.m4 serial 8
+# ceill.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_CEILL=0
   fi
   if test $HAVE_DECL_CEILL = 0 || test $REPLACE_CEILL = 1; then
-    AC_LIBOBJ([ceill])
+    dnl No libraries are needed to link lib/ceill.c.
     CEILL_LIBM=
   fi
   AC_SUBST([CEILL_LIBM])
index 51d5b92..4ab7f38 100644 (file)
@@ -13,6 +13,9 @@ float           [test $HAVE_DECL_CEILL = 0 || test $REPLACE_CEILL = 1]
 
 configure.ac:
 gl_FUNC_CEILL
+if test $HAVE_DECL_CEILL = 0 || test $REPLACE_CEILL = 1; then
+  AC_LIBOBJ([ceill])
+fi
 gl_MATH_MODULE_INDICATOR([ceill])
 
 Makefile.am: