summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure20
1 files changed, 20 insertions, 0 deletions
diff --git a/configure b/configure
index 87631366..21523893 100755
--- a/configure
+++ b/configure
@@ -2334,7 +2334,27 @@ else
printf "no\n"
fi
+printf "Checking for hyperbolic functions (sinh, ...) ... "
+cat > conftest.c <<!
+#include <math.h>
+int main(void)
+{
+ double a = cosh(0.5);
+ double b = sinh(0.5);
+ double c = tanh(0.5);
+ double d = acosh(0.5);
+ double e = asinh(0.5);
+ double f = atanh(0.5);
+ return 0;
+}
+!
+if conftest ; then
+ printf "yes\n"
+ printf "#define HAVE_HYPERBOLICS 1\n" >> config.h
+else
+ printf "no\n"
+fi
printf "Checking for glob ... "