* m4/trunc.m4 (gl_FUNC_TRUNC): Move AC_LIBOBJ invocation from here...
* modules/trunc (configure.ac): ... to here.
+2011-05-21 Bruno Haible <bruno@clisp.org>
+
+ trunc: Move AC_LIBOBJ invocations to module description.
+ * m4/trunc.m4 (gl_FUNC_TRUNC): Move AC_LIBOBJ invocation from here...
+ * modules/trunc (configure.ac): ... to here.
+
2011-05-21 Bruno Haible <bruno@clisp.org>
truncf: Move AC_LIBOBJ invocations to module description.
-# trunc.m4 serial 5
+# trunc.m4 serial 6
dnl Copyright (C) 2007, 2010-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_TRUNC=0
fi
if test $HAVE_DECL_TRUNC = 0 || test $REPLACE_TRUNC = 1; then
- AC_LIBOBJ([trunc])
+ dnl No libraries are needed to link lib/trunc.c.
TRUNC_LIBM=
fi
AC_SUBST([TRUNC_LIBM])
configure.ac:
gl_FUNC_TRUNC
+if test $HAVE_DECL_TRUNC = 0 || test $REPLACE_TRUNC = 1; then
+ AC_LIBOBJ([trunc])
+fi
gl_MATH_MODULE_INDICATOR([trunc])
Makefile.am: