• Bruno Haible's avatar
    cosl: Simplify for platforms where 'long double' == 'double'. · fa11421b
    Bruno Haible authored
    * lib/cosl.c (cosl) [HAVE_SAME_LONG_DOUBLE_AS_DOUBLE]: New alternative
    implementation.
    * m4/cosl.m4 (gl_FUNC_COSL): Require gl_LONG_DOUBLE_VS_DOUBLE.
    Determine COSL_LIBM according to HAVE_SAME_LONG_DOUBLE_AS_DOUBLE.
    * modules/cosl (Depends-on): Add cos. Update conditions.
    (configure.ac): Don't compile sincosl.c and trigl.c if
    HAVE_SAME_LONG_DOUBLE_AS_DOUBLE.
    fa11421b