about summary refs log tree commit diff
path: root/sysdeps/nios2/configure.ac
blob: f738e9a7ed176903c86d4efa2a1e2f23afa36c8f (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/nios2.

# Nios II big endian is not yet supported.
AC_CACHE_CHECK([for big endian],
  [libc_cv_nios2_be],
  [AC_EGREP_CPP(yes,[#ifdef __nios2_big_endian__
                      yes
                     #endif
  ], libc_cv_nios2_be=yes, libc_cv_nios2_be=no)])
if test $libc_cv_nios2_be = yes; then
  AC_MSG_ERROR([Big endian not supported for Nios II])
fi

AC_DEFINE(HIDDEN_VAR_NEEDS_DYNAMIC_RELOC)