rint: Determine RINT_LIBM correctly on AIX 7.
authorBruno Haible <bruno@clisp.org>
Mon, 10 Oct 2011 00:29:53 +0000 (02:29 +0200)
committerBruno Haible <bruno@clisp.org>
Mon, 10 Oct 2011 00:29:53 +0000 (02:29 +0200)
commit14c0eff67c28b3adafbb9a98424eec4a2714e0bb
tree2d28a569934f2ac58eecfb0f8d17b2135bc3cfcb
parent1694a0f2eb5246bd59399e153d61e5ce0fa2bedd
rint: Determine RINT_LIBM correctly on AIX 7.

* m4/mathfunc.m4 (gl_MATHFUNC): Try to invoke the function also
directly, not only through a function pointer. Also accept an optional
4th argument with extra code.
* m4/rint.m4 (gl_FUNC_RINT): Pass an extra code that gets turned into a
rintf() call by gcc when optimizing.
ChangeLog
m4/mathfunc.m4
m4/rint.m4