Blame sysdeps/ieee754/ldbl-opt/configure.ac
|
Packit Service |
82fcde |
sinclude(./aclocal.m4)dnl Autoconf lossage
|
|
Packit Service |
82fcde |
GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
|
|
Packit Service |
82fcde |
# Local configure fragment for sysdeps/ieee754/ldbl-opt/.
|
|
Packit Service |
82fcde |
|
|
Packit Service |
82fcde |
AC_CACHE_CHECK(whether $CC $CFLAGS supports -mlong-double-128,
|
|
Packit Service |
82fcde |
libc_cv_mlong_double_128, [dnl
|
|
Packit Service |
82fcde |
save_CFLAGS="$CFLAGS"
|
|
Packit Service |
82fcde |
CFLAGS="$CFLAGS -mlong-double-128"
|
|
Packit Service |
82fcde |
AC_TRY_COMPILE(, [
|
|
Packit Service |
82fcde |
#ifndef __LONG_DOUBLE_128__
|
|
Packit Service |
82fcde |
# error "compiler did not predefine __LONG_DOUBLE_128__ as expected"
|
|
Packit Service |
82fcde |
#endif
|
|
Packit Service |
82fcde |
long double foobar (long double x) { return x; }],
|
|
Packit Service |
82fcde |
libc_cv_mlong_double_128=yes,
|
|
Packit Service |
82fcde |
libc_cv_mlong_double_128=no)
|
|
Packit Service |
82fcde |
CFLAGS="$save_CFLAGS"])
|
|
Packit Service |
82fcde |
if test "$libc_cv_mlong_double_128" = no; then
|
|
Packit Service |
82fcde |
AC_MSG_ERROR([this configuration requires -mlong-double-128 support])
|
|
Packit Service |
82fcde |
fi
|