2022-01-23 13:23:28 +08:00
|
|
|
if test "${machine_dir}" = "sh"; then
|
2022-01-28 18:17:46 +08:00
|
|
|
AC_CACHE_CHECK([for SH5 (64-bit)], newlib_cv_sh64, [dnl
|
|
|
|
AC_PREPROC_IFELSE([AC_LANG_PROGRAM(
|
2022-01-23 13:23:28 +08:00
|
|
|
[[#if !defined(__SH5__)
|
|
|
|
# error "not SH5"
|
|
|
|
#endif
|
2022-01-28 18:17:46 +08:00
|
|
|
]])], [newlib_cv_sh64=yes], [newlib_cv_sh64=no])])
|
2022-01-23 13:23:28 +08:00
|
|
|
fi
|
|
|
|
|
2022-01-28 18:17:46 +08:00
|
|
|
AM_CONDITIONAL(SH64, [test "$newlib_cv_sh64" = yes])
|