1 # This file is generated from configure.in by Autoconf. DO NOT EDIT!
2 # Local configure fragment for sysdeps/ieee754/ldbl-opt/.
5 echo "$as_me:$LINENO: checking whether $CC $CFLAGS supports -mlong-double-128" >&5
6 echo $ECHO_N "checking whether $CC $CFLAGS supports -mlong-double-128... $ECHO_C" >&6
7 if test "${libc_cv_mlong_double_128+set}" = set; then
8 echo $ECHO_N "(cached) $ECHO_C" >&6
11 CFLAGS="$CFLAGS -mlong-double-128"
12 cat >conftest.$ac_ext <<_ACEOF
15 cat confdefs.h >>conftest.$ac_ext
16 cat >>conftest.$ac_ext <<_ACEOF
23 #ifndef __LONG_DOUBLE_128__
24 # error "compiler did not predefine __LONG_DOUBLE_128__ as expected"
26 long double foobar (long double x) { return x; }
31 rm -f conftest.$ac_objext
32 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33 (eval $ac_compile) 2>conftest.er1
35 grep -v '^ *+' conftest.er1 >conftest.err
38 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39 (exit $ac_status); } &&
40 { ac_try='test -z "$ac_c_werror_flag"
41 || test ! -s conftest.err'
42 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46 (exit $ac_status); }; } &&
47 { ac_try='test -s conftest.$ac_objext'
48 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52 (exit $ac_status); }; }; then
53 libc_cv_mlong_double_128=yes
55 echo "$as_me: failed program was:" >&5
56 sed 's/^/| /' conftest.$ac_ext >&5
58 libc_cv_mlong_double_128=no
60 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63 echo "$as_me:$LINENO: result: $libc_cv_mlong_double_128" >&5
64 echo "${ECHO_T}$libc_cv_mlong_double_128" >&6
65 if test "$libc_cv_mlong_double_128" = no; then
66 { { echo "$as_me:$LINENO: error: this configuration requires -mlong-double-128 support" >&5
67 echo "$as_me: error: this configuration requires -mlong-double-128 support" >&2;}
68 { (exit 1); exit 1; }; }