mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-10-14 23:13:30 +00:00
configure: remove unnecessary libm test
The same test is already performed by meson.build. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
ccf7afa59e
commit
3fc1aad386
14
configure
vendored
14
configure
vendored
|
@ -4993,20 +4993,6 @@ if test "$libiscsi" != "no" ; then
|
||||||
fi
|
fi
|
||||||
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
|
# Do we need librt
|
||||||
# uClibc provides 2 versions of clock_gettime(), one with realtime
|
# uClibc provides 2 versions of clock_gettime(), one with realtime
|
||||||
|
|
Loading…
Reference in a new issue