* m4/round.m4 (gl_FUNC_ROUND): Move AC_LIBOBJ invocation from here...
* modules/round (configure.ac): ... to here.
+2011-05-21 Bruno Haible <bruno@clisp.org>
+
+ round: Move AC_LIBOBJ invocations to module description.
+ * m4/round.m4 (gl_FUNC_ROUND): Move AC_LIBOBJ invocation from here...
+ * modules/round (configure.ac): ... to here.
+
2011-05-21 Bruno Haible <bruno@clisp.org>
roundf: Move AC_LIBOBJ invocations to module description.
-# round.m4 serial 10
+# round.m4 serial 11
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_ROUND=0
fi
if test $HAVE_DECL_ROUND = 0 || test $REPLACE_ROUND = 1; then
- AC_LIBOBJ([round])
+ dnl Find libraries needed to link lib/round.c.
gl_FUNC_FLOOR_LIBS
gl_FUNC_CEIL_LIBS
ROUND_LIBM=
configure.ac:
gl_FUNC_ROUND
+if test $HAVE_DECL_ROUND = 0 || test $REPLACE_ROUND = 1; then
+ AC_LIBOBJ([round])
+fi
gl_MATH_MODULE_INDICATOR([round])
Makefile.am: