mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-09 10:39:11 +08:00
This isn't strictly necessary, but it makes for much clearer logs as to what the target is doing, and provides cache vars for anyone who wants to force the test a different way, and it lets the build cache its own results when rerunning config.status.
11 lines
293 B
Plaintext
11 lines
293 B
Plaintext
if test "${machine_dir}" = "sh"; then
|
|
AC_CACHE_CHECK([for SH5 (64-bit)], newlib_cv_sh64, [dnl
|
|
AC_PREPROC_IFELSE([AC_LANG_PROGRAM(
|
|
[[#if !defined(__SH5__)
|
|
# error "not SH5"
|
|
#endif
|
|
]])], [newlib_cv_sh64=yes], [newlib_cv_sh64=no])])
|
|
fi
|
|
|
|
AM_CONDITIONAL(SH64, [test "$newlib_cv_sh64" = yes])
|