Fix tests-printers handling for cross compiling.
[glibc.git] / sysdeps / nios2 / configure.ac
blobf05f43802bae94e388d1cfe318da93085c9fe500
1 GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
2 # Local configure fragment for sysdeps/nios2.
4 # Nios II big endian is not yet supported.
5 AC_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)])
11 if test $libc_cv_nios2_be = yes; then
12   AC_MSG_ERROR([Big endian not supported for Nios II])