mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-09 18:49: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.
10 lines
412 B
Plaintext
10 lines
412 B
Plaintext
if test "${machine_dir}" = "spu"; then
|
|
AC_CACHE_CHECK([whether the compiler supports __ea], newlib_cv_spu_compiler_has_ea, [dnl
|
|
AC_PREPROC_IFELSE([AC_LANG_PROGRAM(
|
|
[[#if !defined (__EA32__) && !defined (__EA64__)
|
|
# error "__ea not supported"
|
|
#endif
|
|
]])], [newlib_cv_spu_compiler_has_ea=yes], [newlib_cv_spu_compiler_has_ea=no])])
|
|
fi
|
|
AM_CONDITIONAL(HAVE_SPU_EA, test "$newlib_cv_spu_compiler_has_ea" = yes)
|