aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2020-09-01 06:29:11 -0400
committerPaolo Bonzini <pbonzini@redhat.com>2020-09-08 11:43:16 +0200
commit3fc1aad3864b77df504ea4c61faa751a5a5a2244 (patch)
tree5193800b0091c7b3117b10f69c816c39f8fc10e6
parentccf7afa59e070b0cc65618af91dc01105f04e566 (diff)
configure: remove unnecessary libm test
The same test is already performed by meson.build. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-rwxr-xr-xconfigure14
1 files changed, 0 insertions, 14 deletions
diff --git a/configure b/configure
index 255d54e069..ca3ca7664f 100755
--- a/configure
+++ b/configure
@@ -4994,20 +4994,6 @@ if test "$libiscsi" != "no" ; then
fi
##########################################
-# Do we need libm
-cat > $TMPC << EOF
-#include <math.h>
-int main(int argc, char **argv) { return isnan(sin((double)argc)); }
-EOF
-if compile_prog "" "" ; then
- :
-elif compile_prog "" "-lm" ; then
- LIBS="-lm $LIBS"
-else
- error_exit "libm check failed"
-fi
-
-##########################################
# Do we need librt
# uClibc provides 2 versions of clock_gettime(), one with realtime
# support and one without. This means that the clock_gettime() don't