summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2011-05-21 10:58:45 +0200
committerBruno Haible <bruno@clisp.org>2011-06-16 00:06:18 +0200
commit37567e965cc8cd3c73f22bc21453ce311f78fe72 (patch)
treecea330c5afbd9b038a6cda289299af5f41e87a4f
parente2dc84ce3d8df6967c34717b93e5e7508382eda7 (diff)
downloadgnulib-37567e965cc8cd3c73f22bc21453ce311f78fe72.tar.gz
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.
-rw-r--r--ChangeLog6
-rw-r--r--m4/ceil.m44
-rw-r--r--modules/ceil3
3 files changed, 11 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 2438f9db93..89befe0f8d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
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.
* m4/ceilf.m4 (gl_FUNC_CEILF): Move AC_LIBOBJ invocation from here...
* modules/ceilf (configure.ac): ... to here.
diff --git a/m4/ceil.m4 b/m4/ceil.m4
index 21d04b468c..157407745b 100644
--- a/m4/ceil.m4
+++ b/m4/ceil.m4
@@ -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])
diff --git a/modules/ceil b/modules/ceil
index 1a3a5de496..05ee345d39 100644
--- a/modules/ceil
+++ b/modules/ceil
@@ -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: