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