blob: f05f43802bae94e388d1cfe318da93085c9fe500 [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/nios2.
3
4# Nios II big endian is not yet supported.
5AC_CACHE_CHECK([for big endian],
6 [libc_cv_nios2_be],
7 [AC_EGREP_CPP(yes,[#ifdef __nios2_big_endian__
8 yes
9 #endif
10 ], libc_cv_nios2_be=yes, libc_cv_nios2_be=no)])
11if test $libc_cv_nios2_be = yes; then
12 AC_MSG_ERROR([Big endian not supported for Nios II])
13fi