Cygwin: access: Fix X_OK behaviour for backup operators and admins
[newlib-cygwin.git] / newlib / libm / machine / xtensa / acinclude.m4
blobfc5001da0c868aadfa56fae45920e59841869eb7
1 AC_CACHE_CHECK([for XCHAL_HAVE_FP_SQRT], newlib_cv_xchal_have_fp_sqrt, [dnl
2     AC_PREPROC_IFELSE([AC_LANG_PROGRAM(
3 [[#define _LIBM
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"
8 #endif
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")