about summary refs log tree commit diff
path: root/sysdeps/microblaze/preconfigure.ac
blob: 3d05d6fb7d7a5cefa5b29ae0c9b71bd79165459c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
# Local preconfigure fragment for sysdeps/microblaze

AC_EGREP_CPP(yes,[#if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
                   yes
                  #endif
                  ], endianness=le, endianness=be)

case "$machine" in
microblaze*)   base_machine=microblaze machine=microblaze/$endianness ;;
esac