From: Bruno Haible Date: Sun, 9 Oct 2011 23:05:53 +0000 (+0200) Subject: truncl: Simplify for platforms where 'long double' == 'double'. X-Git-Tag: v0.1~1600 X-Git-Url: https://erislabs.net/gitweb/?a=commitdiff_plain;ds=inline;h=3d57d93ced65ddec292e320e35fb648dff34cd83;hp=3d57d93ced65ddec292e320e35fb648dff34cd83;p=gnulib.git truncl: Simplify for platforms where 'long double' == 'double'. * lib/truncl.c: Include . (truncl) [HAVE_SAME_LONG_DOUBLE_AS_DOUBLE]: New function. * lib/trunc.c [!USE_LONG_DOUBLE]: Don't include a second time. * m4/truncl.m4 (gl_FUNC_TRUNCL): Require gl_LONG_DOUBLE_VS_DOUBLE. Determine TRUNCL_LIBM according to HAVE_SAME_LONG_DOUBLE_AS_DOUBLE. * modules/truncl (Depends-on): Add trunc. Update conditions. ---