about summary refs log tree commit diff
path: root/sysdeps/mips/configure.ac
blob: d3cd780d781f44e8d6d91825c1271c8252f6bad6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
# Local configure fragment for sysdeps/mips.

dnl No MIPS GCC supports accessing static and hidden symbols in an
dnl position independent way.
AC_DEFINE(HIDDEN_VAR_NEEDS_DYNAMIC_RELOC)

AC_CACHE_CHECK([whether the compiler is using the 2008 NaN encoding],
  libc_cv_mips_nan2008, [AC_EGREP_CPP(yes, [dnl
#ifdef __mips_nan2008
yes
#endif], libc_cv_mips_nan2008=yes, libc_cv_mips_nan2008=no)])
if test x$libc_cv_mips_nan2008 = xyes; then
  AC_DEFINE(HAVE_MIPS_NAN2008)
fi