1 if test "${machine_dir}" = "spu"; then
2 AC_CACHE_CHECK([whether the compiler supports __ea], newlib_cv_spu_compiler_has_ea, [dnl
3 AC_PREPROC_IFELSE([AC_LANG_PROGRAM(
4 [[#if !defined (__EA32__) && !defined (__EA64__)
5 # error "__ea not supported"
7 ]])], [newlib_cv_spu_compiler_has_ea=yes], [newlib_cv_spu_compiler_has_ea=no])])
9 AM_CONDITIONAL(HAVE_SPU_EA, test "$newlib_cv_spu_compiler_has_ea" = yes)