x86-64: Require BMI2 for AVX2 strcmp implementation
[glibc.git] / sysdeps / x86_64 / configure
blob44b6055e554b54becab9f858726d0fb250ae8324
1 # This file is generated from configure.ac by Autoconf.  DO NOT EDIT!
2  # Local configure fragment for sysdeps/x86_64.
4 { $as_echo "$as_me:${as_lineno-$LINENO}: checking -mprefer-vector-width=128" >&5
5 $as_echo_n "checking -mprefer-vector-width=128... " >&6; }
6 if ${libc_cv_cc_mprefer_vector_width+:} false; then :
7   $as_echo_n "(cached) " >&6
8 else
9   if { ac_try='${CC-cc} -mprefer-vector-width=128 -xc /dev/null -S -o /dev/null'
10   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
11   (eval $ac_try) 2>&5
12   ac_status=$?
13   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14   test $ac_status = 0; }; }; then :
15   libc_cv_cc_mprefer_vector_width=yes
16 else
17   libc_cv_cc_mprefer_vector_width=no
21 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_cc_mprefer_vector_width" >&5
22 $as_echo "$libc_cv_cc_mprefer_vector_width" >&6; }
23 config_vars="$config_vars
24 config-cflags-mprefer-vector-width = $libc_cv_cc_mprefer_vector_width"
26 if test x"$build_mathvec" = xnotset; then
27   build_mathvec=yes
30 test -n "$critic_missing" && as_fn_error $? "
31 *** $critic_missing" "$LINENO" 5