Commit 030dc7afa953442437474140ac98ab4f8db56bc8

Bruno Haible 2011-10-11T02:59:23

sinl: Simplify for platforms where 'long double' == 'double'. * lib/sinl.c (sinl) [HAVE_SAME_LONG_DOUBLE_AS_DOUBLE]: New alternative implementation. * m4/sinl.m4 (gl_FUNC_SINL): Require gl_LONG_DOUBLE_VS_DOUBLE. Determine SINL_LIBM according to HAVE_SAME_LONG_DOUBLE_AS_DOUBLE. * modules/sinl (Depends-on): Add sin. Update conditions. (configure.ac): Don't compile sincosl.c and trigl.c if HAVE_SAME_LONG_DOUBLE_AS_DOUBLE.