Blame sysdeps/ieee754/ldbl-opt/configure

Packit 6c4009
# This file is generated from configure.ac by Autoconf.  DO NOT EDIT!
Packit 6c4009
 # Local configure fragment for sysdeps/ieee754/ldbl-opt/.
Packit 6c4009
Packit 6c4009
Packit 6c4009
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC $CFLAGS supports -mlong-double-128" >&5
Packit 6c4009
$as_echo_n "checking whether $CC $CFLAGS supports -mlong-double-128... " >&6; }
Packit 6c4009
if ${libc_cv_mlong_double_128+:} false; then :
Packit 6c4009
  $as_echo_n "(cached) " >&6
Packit 6c4009
else
Packit 6c4009
  save_CFLAGS="$CFLAGS"
Packit 6c4009
CFLAGS="$CFLAGS -mlong-double-128"
Packit 6c4009
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Packit 6c4009
/* end confdefs.h.  */
Packit 6c4009
Packit 6c4009
int
Packit 6c4009
main ()
Packit 6c4009
{
Packit 6c4009
Packit 6c4009
#ifndef __LONG_DOUBLE_128__
Packit 6c4009
# error "compiler did not predefine __LONG_DOUBLE_128__ as expected"
Packit 6c4009
#endif
Packit 6c4009
long double foobar (long double x) { return x; }
Packit 6c4009
  ;
Packit 6c4009
  return 0;
Packit 6c4009
}
Packit 6c4009
_ACEOF
Packit 6c4009
if ac_fn_c_try_compile "$LINENO"; then :
Packit 6c4009
  libc_cv_mlong_double_128=yes
Packit 6c4009
else
Packit 6c4009
  libc_cv_mlong_double_128=no
Packit 6c4009
fi
Packit 6c4009
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
Packit 6c4009
CFLAGS="$save_CFLAGS"
Packit 6c4009
fi
Packit 6c4009
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_mlong_double_128" >&5
Packit 6c4009
$as_echo "$libc_cv_mlong_double_128" >&6; }
Packit 6c4009
if test "$libc_cv_mlong_double_128" = no; then
Packit 6c4009
  as_fn_error $? "this configuration requires -mlong-double-128 support" "$LINENO" 5
Packit 6c4009
fi