summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Williams <nico@cryptonector.com>2015-07-03 21:13:13 -0500
committerNicolas Williams <nico@cryptonector.com>2015-07-03 21:13:13 -0500
commit1c350c67d76444e6d169a782dd53a5b2a74035d9 (patch)
tree2d3e90004ec31750e55d2ac9e9d9aa0bed4a31e4
parent2348b7245edd4e22ed4918db593cbc6964a41375 (diff)
Remove `pow10` for now; CHECK_MATH_FUNC needs work
The CHECK_MATH_FUNC() m4 macro needs work. It should use AC_RUN_IFELSE(), not just AC_LINK_IFELSE(), and it should #define _GNU_SOURCE and/or other such feature macros in the prologue to get non-standard math functions (alternatvely jq should only support standard math functions).
-rw-r--r--configure.ac1
-rw-r--r--libm.h5
2 files changed, 0 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac
index 7b59029f..beccf1e7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -189,7 +189,6 @@ AC_CHECK_MATH_FUNC(tgamma, [.5])
AC_CHECK_MATH_FUNC(y0, [.5])
AC_CHECK_MATH_FUNC(y1, [.5])
AC_CHECK_MATH_FUNC(pow, [2,2])
-AC_CHECK_MATH_FUNC(pow10, [2])
AC_CHECK_MATH_FUNC(atan2, [.5,.5])
AC_CHECK_MATH_FUNC(hypot, [.5,.5])
AC_CHECK_MATH_FUNC(remainder, [3,2])
diff --git a/libm.h b/libm.h
index 9b1fae9f..d8cfe18c 100644
--- a/libm.h
+++ b/libm.h
@@ -128,11 +128,6 @@ LIBM_DDD(pow)
#else
LIBM_DDD_NO(pow)
#endif
-#ifdef HAVE_POW10
-LIBM_DD(pow10)
-#else
-LIBM_DD_NO(pow10)
-#endif
#ifdef HAVE_JN
LIBM_DID(jn)
#endif