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
11 CFLAGS="$CFLAGS -mlong-double-128"
12 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19 #ifndef __LONG_DOUBLE_128__
20 # error "compiler did not predefine __LONG_DOUBLE_128__ as expected"
22 long double foobar (long double x) { return x; }
27 if ac_fn_c_try_compile "$LINENO"; then :
28 libc_cv_mlong_double_128=yes
30 libc_cv_mlong_double_128=no
32 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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