mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-16 18:10:11 +00:00
926320aba6
attribute_hidden here. * sysdeps/ieee754/ldbl-opt/nldbl-vsyslog.c (vsyslog): Restore attribute_hidden here. * sysdeps/ieee754/ldbl-opt/nldbl-asprintf.c (__asprintf): Likewise. * sysdeps/ieee754/ldbl-opt/nldbl-fprintf.c (fprintf): Likewise. * sysdeps/ieee754/ldbl-opt/nldbl-qecvt.c (qecvt): Likewise. * sysdeps/ieee754/ldbl-opt/nldbl-qfcvt.c (qfcvt): Likewise. * sysdeps/ieee754/ldbl-opt/nldbl-qgcvt.c (qgcvt): Likewise. * sysdeps/ieee754/ldbl-opt/configure.in: Use AC_TRY_COMPILE and verify __LONG_DOUBLE_128__ predefine. * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
20 lines
725 B
Plaintext
20 lines
725 B
Plaintext
sinclude(./aclocal.m4)dnl Autoconf lossage
|
|
GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
|
|
# Local configure fragment for sysdeps/ieee754/ldbl-opt/.
|
|
|
|
AC_CACHE_CHECK(whether $CC $CFLAGS supports -mlong-double-128,
|
|
libc_cv_mlong_double_128, [dnl
|
|
save_CFLAGS="$CFLAGS"
|
|
CFLAGS="$CFLAGS -mlong-double-128"
|
|
AC_TRY_COMPILE(, [
|
|
#ifndef __LONG_DOUBLE_128__
|
|
# error "compiler did not predefine __LONG_DOUBLE_128__ as expected"
|
|
#endif
|
|
long double foobar (long double x) { return x; }],
|
|
libc_cv_mlong_double_128=yes,
|
|
libc_cv_mlong_double_128=no)
|
|
CFLAGS="$save_CFLAGS"])
|
|
if test "$libc_cv_mlong_double_128" = no; then
|
|
AC_MSG_ERROR([this configuration requires -mlong-double-128 support])
|
|
fi
|