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 for AVX512DQ support in assembler" >&5
5 $as_echo_n "checking for AVX512DQ support in assembler... " >&6; }
6 if ${libc_cv_asm_avx512dq+:} false; then :
7 $as_echo_n "(cached) " >&6
9 cat > conftest.s <<\EOF
10 vandpd (%rax), %zmm6, %zmm1
12 if { ac_try='${CC-cc} -c $ASFLAGS conftest.s 1>&5'
13 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17 test $ac_status = 0; }; }; then
18 libc_cv_asm_avx512dq=yes
20 libc_cv_asm_avx512dq=no
24 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_avx512dq" >&5
25 $as_echo "$libc_cv_asm_avx512dq" >&6; }
26 if test $libc_cv_asm_avx512dq = yes; then
27 $as_echo "#define HAVE_AVX512DQ_ASM_SUPPORT 1" >>confdefs.h
31 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AVX512 support" >&5
32 $as_echo_n "checking for AVX512 support... " >&6; }
33 if ${libc_cv_cc_avx512+:} false; then :
34 $as_echo_n "(cached) " >&6
36 if { ac_try='${CC-cc} -mavx512f -xc /dev/null -S -o /dev/null'
37 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
40 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
41 test $ac_status = 0; }; }; then :
42 libc_cv_cc_avx512=$libc_cv_asm_avx512dq
48 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_cc_avx512" >&5
49 $as_echo "$libc_cv_cc_avx512" >&6; }
50 if test $libc_cv_cc_avx512 = yes; then
51 $as_echo "#define HAVE_AVX512_SUPPORT 1" >>confdefs.h
54 config_vars="$config_vars
55 config-cflags-avx512 = $libc_cv_cc_avx512"
57 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Intel MPX support" >&5
58 $as_echo_n "checking for Intel MPX support... " >&6; }
59 if ${libc_cv_asm_mpx+:} false; then :
60 $as_echo_n "(cached) " >&6
62 cat > conftest.s <<\EOF
65 if { ac_try='${CC-cc} -c $ASFLAGS conftest.s 1>&5'
66 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
69 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
70 test $ac_status = 0; }; }; then
77 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_mpx" >&5
78 $as_echo "$libc_cv_asm_mpx" >&6; }
79 if test $libc_cv_asm_mpx = yes; then
80 $as_echo "#define HAVE_MPX_SUPPORT 1" >>confdefs.h
84 if test x"$build_mathvec" = xnotset; then
88 if test "$static_pie" = yes; then
89 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linker static PIE support" >&5
90 $as_echo_n "checking for linker static PIE support... " >&6; }
91 if ${libc_cv_ld_static_pie+:} false; then :
92 $as_echo_n "(cached) " >&6
94 cat > conftest.s <<\EOF
101 libc_cv_pie_option="-Wl,-pie"
102 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -nostartfiles -nostdlib $no_ssp $libc_cv_pie_option -o conftest conftest.s 1>&5'
103 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
106 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
107 test $ac_status = 0; }; }; then
108 libc_cv_ld_static_pie=yes
110 libc_cv_ld_static_pie=no
114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_ld_static_pie" >&5
115 $as_echo "$libc_cv_ld_static_pie" >&6; }
116 if test "$libc_cv_ld_static_pie" != yes; then
117 as_fn_error $? "linker support for static PIE needed" "$LINENO" 5
121 $as_echo "#define PI_STATIC_AND_HIDDEN 1" >>confdefs.h
124 test -n "$critic_missing" && as_fn_error $? "
125 *** $critic_missing" "$LINENO" 5