From 3fc1aad3864b77df504ea4c61faa751a5a5a2244 Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Tue, 1 Sep 2020 06:29:11 -0400 Subject: configure: remove unnecessary libm test The same test is already performed by meson.build. Signed-off-by: Paolo Bonzini --- configure | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'configure') diff --git a/configure b/configure index 255d54e069..ca3ca7664f 100755 --- a/configure +++ b/configure @@ -4993,20 +4993,6 @@ if test "$libiscsi" != "no" ; then fi fi -########################################## -# Do we need libm -cat > $TMPC << EOF -#include -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 -- cgit v1.2.3