* m4/floorf.m4 (gl_FUNC_FLOORF): Move AC_LIBOBJ invocation from here...
* modules/floorf (configure.ac): ... to here.
+2011-05-21 Bruno Haible <bruno@clisp.org>
+
+ floorf: Move AC_LIBOBJ invocations to module description.
+ * m4/floorf.m4 (gl_FUNC_FLOORF): Move AC_LIBOBJ invocation from here...
+ * modules/floorf (configure.ac): ... to here.
+
2011-05-20 Bruno Haible <bruno@clisp.org>
sqrtl: Respect rules for use of AC_LIBOBJ.
-# floorf.m4 serial 8
+# floorf.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,
HAVE_DECL_FLOORF=0
fi
if test $HAVE_DECL_FLOORF = 0 || test $REPLACE_FLOORF = 1; then
- AC_LIBOBJ([floorf])
+ dnl No libraries are needed to link lib/floorf.c.
FLOORF_LIBM=
fi
AC_SUBST([FLOORF_LIBM])
configure.ac:
gl_FUNC_FLOORF
+if test $HAVE_DECL_FLOORF = 0 || test $REPLACE_FLOORF = 1; then
+ AC_LIBOBJ([floorf])
+fi
gl_MATH_MODULE_INDICATOR([floorf])
Makefile.am: