Commit 3e5de6c5 authored by Bruno Haible's avatar Bruno Haible

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.
parent ddc86dda
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,
......@@ -92,7 +92,7 @@ int main()
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=
......
......@@ -16,6 +16,9 @@ floor [test $HAVE_DECL_ROUND = 0 || test $REPLACE_ROUND = 1]
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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment