More strict check of AVX512 support in assembler.
[glibc.git] / sysdeps / ieee754 / ldbl-opt / configure
blobad9d77b88c75ab0891fca501ab18a1f264d10323
1 # This file is generated from configure.ac by Autoconf.  DO NOT EDIT!
2  # Local configure fragment for sysdeps/ieee754/ldbl-opt/.
5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC $CFLAGS supports -mlong-double-128" >&5
6 $as_echo_n "checking whether $CC $CFLAGS supports -mlong-double-128... " >&6; }
7 if ${libc_cv_mlong_double_128+:} false; then :
8   $as_echo_n "(cached) " >&6
9 else
10   save_CFLAGS="$CFLAGS"
11 CFLAGS="$CFLAGS -mlong-double-128"
12 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13 /* end confdefs.h.  */
15 int
16 main ()
19 #ifndef __LONG_DOUBLE_128__
20 # error "compiler did not predefine __LONG_DOUBLE_128__ as expected"
21 #endif
22 long double foobar (long double x) { return x; }
23   ;
24   return 0;
26 _ACEOF
27 if ac_fn_c_try_compile "$LINENO"; then :
28   libc_cv_mlong_double_128=yes
29 else
30   libc_cv_mlong_double_128=no
32 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33 CFLAGS="$save_CFLAGS"
35 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_mlong_double_128" >&5
36 $as_echo "$libc_cv_mlong_double_128" >&6; }
37 if test "$libc_cv_mlong_double_128" = no; then
38   as_fn_error $? "this configuration requires -mlong-double-128 support" "$LINENO" 5