Skip to content
Myr

Windows: configure fails to detect missing math

Before adoption: this commit came in with the history the project adopted, so no landing records it.

For some reason AC_CHECK_MATH_FUNC() on Windows is not detecting a handful of math functions as not being supported. This commit is a bit of a hack.

authored by Nicolas Williams · committed by Nicolas Williams · parent 6e77b01 · Browse files · 1 file+4 added−4 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+4 added−4 removed

  • other:+4 added−4 removed

1 file+4 added−4 removed

modified:src/libm.h+4 added-4 removed
157 unmodified lines
158LIBM_DDD(copysign)159#else160LIBM_DDD_NO(copysign)161#endif162#ifdef HAVE_DREM162#if defined(HAVE_DREM) && !defined(WIN32)163LIBM_DDD(drem)164#else165LIBM_DDD_NO(drem)166#endif
6 unmodified lines
173LIBM_DD(erfc)174#else175LIBM_DD_NO(erfc)176#endif177#ifdef HAVE_EXP10177#if defined(HAVE_EXP10) && !defined(WIN32)178LIBM_DD(exp10)179#else180LIBM_DD_NO(exp10)181#endif
76 unmodified lines
258LIBM_DDD(nexttoward)259#else260LIBM_DDD_NO(nexttoward)261#endif262#ifdef HAVE_POW10262#if defined(HAVE_POW10) && !defined(WIN32)263LIBM_DD(pow10)264#else265LIBM_DD_NO(pow10)266#endif
16 unmodified lines
283LIBM_DDD(scalbln)284#else285LIBM_DDD_NO(scalbln)286#endif287#ifdef HAVE_SIGNIFICAND287#if defined(HAVE_SIGNIFICAND) && !defined(WIN32)288LIBM_DD(significand)289#else290LIBM_DD_NO(significand)291#endif
10 unmodified lines