]> Git Repo - qemu.git/commitdiff
configure: remove unnecessary libm test
authorPaolo Bonzini <[email protected]>
Tue, 1 Sep 2020 10:29:11 +0000 (06:29 -0400)
committerPaolo Bonzini <[email protected]>
Tue, 8 Sep 2020 09:43:16 +0000 (11:43 +0200)
The same test is already performed by meson.build.

Signed-off-by: Paolo Bonzini <[email protected]>
configure

index 255d54e069825fa8a51da74a81022ba82ac42993..ca3ca7664f44f007975006bc67e1fa5d1f081095 100755 (executable)
--- a/configure
+++ b/configure
@@ -4993,20 +4993,6 @@ if test "$libiscsi" != "no" ; then
   fi
 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
This page took 0.0258429999999999 seconds and 4 git commands to generate.