summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure19
1 files changed, 19 insertions, 0 deletions
diff --git a/configure b/configure
index fe9aa954..7f7686df 100755
--- a/configure
+++ b/configure
@@ -2128,6 +2128,25 @@ else
printf "no\n"
fi
+printf "Checking for round ... "
+cat > conftest.c <<!
+#include <math.h>
+
+int main(void)
+{
+ double x = round(0.5);
+ return 0;
+}
+!
+if conftest ; then
+ printf "yes\n"
+ printf "#define HAVE_ROUND 1\n" >> $config_h
+else
+ printf "no\n"
+fi
+
+
+
printf "Checking for glob ... "
cat > conftest.c <<!