blob: bcbdaffd9fe3b427ec73b4a15b2968448824ca43 [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
2# Local configure fragment for sysdeps/mips.
3
4dnl No MIPS GCC supports accessing static and hidden symbols in an
5dnl position independent way.
6dnl AC_DEFINE(PI_STATIC_AND_HIDDEN)
7
8AC_CACHE_CHECK([whether the compiler is using the 2008 NaN encoding],
9 libc_cv_mips_nan2008, [AC_EGREP_CPP(yes, [dnl
10#ifdef __mips_nan2008
11yes
12#endif], libc_cv_mips_nan2008=yes, libc_cv_mips_nan2008=no)])
13if test x$libc_cv_mips_nan2008 = xyes; then
14 AC_DEFINE(HAVE_MIPS_NAN2008)
15fi