Windows: configure fails to detect missing math
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.
This commit is contained in:
1 parent
6e77b017c5
commit
ba32b33796
1 file changed
+4
-4
+4
-4
@@ -159,7 +159,7 @@ LIBM_DDD(copysign)
|
|||||||
#else
|
#else
|
||||||
LIBM_DDD_NO(copysign)
|
LIBM_DDD_NO(copysign)
|
||||||
#endif
|
#endif
|
||||||
#ifdef HAVE_DREM
|
#if defined(HAVE_DREM) && !defined(WIN32)
|
||||||
LIBM_DDD(drem)
|
LIBM_DDD(drem)
|
||||||
#else
|
#else
|
||||||
LIBM_DDD_NO(drem)
|
LIBM_DDD_NO(drem)
|
||||||
@@ -174,7 +174,7 @@ LIBM_DD(erfc)
|
|||||||
#else
|
#else
|
||||||
LIBM_DD_NO(erfc)
|
LIBM_DD_NO(erfc)
|
||||||
#endif
|
#endif
|
||||||
#ifdef HAVE_EXP10
|
#if defined(HAVE_EXP10) && !defined(WIN32)
|
||||||
LIBM_DD(exp10)
|
LIBM_DD(exp10)
|
||||||
#else
|
#else
|
||||||
LIBM_DD_NO(exp10)
|
LIBM_DD_NO(exp10)
|
||||||
@@ -259,7 +259,7 @@ LIBM_DDD(nexttoward)
|
|||||||
#else
|
#else
|
||||||
LIBM_DDD_NO(nexttoward)
|
LIBM_DDD_NO(nexttoward)
|
||||||
#endif
|
#endif
|
||||||
#ifdef HAVE_POW10
|
#if defined(HAVE_POW10) && !defined(WIN32)
|
||||||
LIBM_DD(pow10)
|
LIBM_DD(pow10)
|
||||||
#else
|
#else
|
||||||
LIBM_DD_NO(pow10)
|
LIBM_DD_NO(pow10)
|
||||||
@@ -284,7 +284,7 @@ LIBM_DDD(scalbln)
|
|||||||
#else
|
#else
|
||||||
LIBM_DDD_NO(scalbln)
|
LIBM_DDD_NO(scalbln)
|
||||||
#endif
|
#endif
|
||||||
#ifdef HAVE_SIGNIFICAND
|
#if defined(HAVE_SIGNIFICAND) && !defined(WIN32)
|
||||||
LIBM_DD(significand)
|
LIBM_DD(significand)
|
||||||
#else
|
#else
|
||||||
LIBM_DD_NO(significand)
|
LIBM_DD_NO(significand)
|
||||||
|
|||||||
Reference in new issue
Block a user