1 AC_CACHE_CHECK([for XCHAL_HAVE_FP_SQRT], newlib_cv_xchal_have_fp_sqrt, [dnl
2 AC_PREPROC_IFELSE([AC_LANG_PROGRAM(
4 // targ-include does not exist yet, use relative path
5 #include "../machine/xtensa/include/xtensa/config/core-isa.h"
6 #if (!XCHAL_HAVE_FP_SQRT)
7 # error "Have not XCHAL_HAVE_FP_SQRT"
9 ]])], [newlib_cv_xchal_have_fp_sqrt="yes"], [newlib_cv_xchal_have_fp_sqrt="no"])])
11 AM_CONDITIONAL(XTENSA_XCHAL_HAVE_FP_SQRT, test "$newlib_cv_xchal_have_fp_sqrt" = "yes")