summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure44
1 files changed, 44 insertions, 0 deletions
diff --git a/configure b/configure
index 02468f73..8c39cd4d 100755
--- a/configure
+++ b/configure
@@ -2918,6 +2918,50 @@ else
printf "no\n"
fi
+for fun in cbrt erf erfc exp10 exp2 expm1 \
+ gamma j0 j1 lgamma log1p logb \
+ nearbyint pow10 rint significand tgamma y0 y1
+do
+ printf "Checking for %s function ... " $fun
+ cat > conftest.c <<!
+#include <math.h>
+
+int main(void)
+{
+ double a = $fun(0.5);
+ return 0;
+}
+!
+ if conftest ; then
+ printf "yes\n"
+ printf "#define HAVE_%s 1\n" $(echo $fun | tr '[a-z]' '[A-Z]') >> config.h
+ else
+ printf "no\n"
+ fi
+done
+
+for fun in copysign drem fdim fmax fmin \
+ frexp hypot jn ldexp modf \
+ nextafter nexttoward remainder scalb scalbln yn
+do
+ printf "Checking for %s function ... " $fun
+ cat > conftest.c <<!
+#include <math.h>
+
+int main(void)
+{
+ double a = $fun(0.5, 0.5);
+ return 0;
+}
+!
+ if conftest ; then
+ printf "yes\n"
+ printf "#define HAVE_%s 1\n" $(echo $fun | tr '[a-z]' '[A-Z]') >> config.h
+ else
+ printf "no\n"
+ fi
+done
+
printf "Checking for glob ... "
cat > conftest.c <<!