aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/sh/preconfigure.ac
blob: 78fd771ed52f1c859b072915a525a5f283893a41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
# Local preconfigure fragment for sysdeps/sh

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

case "$machine" in
sh3*)           base_machine=sh
                machine=sh/$endianness/sh3
                with_fp_cond="defined __SH_FPU_ANY__"
                ;;
sh4*)           base_machine=sh
                machine=sh/$endianness/sh4
                with_fp_cond="defined __SH_FPU_ANY__"
                ;;
esac