Message ID | 20211025081911.628955-1-pbonzini@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | configure: remove useless NPTL probe | expand |
On 10/25/21 1:19 AM, Paolo Bonzini wrote: > Using a linuxthreads system with a recent QEMU will have bigger problems > than just not having NPTL. Remove the unnecessary check. > > Signed-off-by: Paolo Bonzini<pbonzini@redhat.com> > --- > configure | 19 ------------------- > 1 file changed, 19 deletions(-) Reviewed-by: Richard Henderson <richard.henderson@linaro.org> r~
diff --git a/configure b/configure index 03162008aa..b5c36347eb 100755 --- a/configure +++ b/configure @@ -1994,25 +1994,6 @@ if ! has "$pkg_config_exe"; then error_exit "pkg-config binary '$pkg_config_exe' not found" fi -########################################## -# NPTL probe - -if test "$linux_user" = "yes"; then - cat > $TMPC <<EOF -#include <sched.h> -#include <linux/futex.h> -int main(void) { -#if !defined(CLONE_SETTLS) || !defined(FUTEX_WAIT) -#error bork -#endif - return 0; -} -EOF - if ! compile_object ; then - feature_not_found "nptl" "Install glibc and linux kernel headers." - fi -fi - ########################################## # xen probe
Using a linuxthreads system with a recent QEMU will have bigger problems than just not having NPTL. Remove the unnecessary check. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> --- configure | 19 ------------------- 1 file changed, 19 deletions(-)