1 # This file is generated from configure.ac by Autoconf. DO NOT EDIT!
2 # Local configure fragment for sysdeps/ieee754/ldbl-opt/.
5 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC $CFLAGS supports -mlong-double-128" >&5
6 printf %s "checking whether $CC $CFLAGS supports -mlong-double-128... " >&6; }
7 if test ${libc_cv_mlong_double_128+y}
9 printf %s "(cached) " >&6
12 CFLAGS="$CFLAGS -mlong-double-128"
13 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20 #ifndef __LONG_DOUBLE_128__
21 # error "compiler did not predefine __LONG_DOUBLE_128__ as expected"
23 long double foobar (long double x) { return x; }
28 if ac_fn_c_try_compile "$LINENO"
30 libc_cv_mlong_double_128=yes
32 libc_cv_mlong_double_128=no
34 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
37 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $libc_cv_mlong_double_128" >&5
38 printf "%s\n" "$libc_cv_mlong_double_128" >&6; }
39 if test "$libc_cv_mlong_double_128" = no; then
40 as_fn_error $? "this configuration requires -mlong-double-128 support" "$LINENO" 5