lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 1 | GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory. |
| 2 | # Local configure fragment for sysdeps/mips. |
| 3 | |
| 4 | dnl No MIPS GCC supports accessing static and hidden symbols in an |
| 5 | dnl position independent way. |
| 6 | dnl AC_DEFINE(PI_STATIC_AND_HIDDEN) |
| 7 | |
| 8 | AC_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 |
| 11 | yes |
| 12 | #endif], libc_cv_mips_nan2008=yes, libc_cv_mips_nan2008=no)]) |
| 13 | if test x$libc_cv_mips_nan2008 = xyes; then |
| 14 | AC_DEFINE(HAVE_MIPS_NAN2008) |
| 15 | fi |