1094 |
AC_DEFUN([AC_C_RESTRICT], |
AC_DEFUN([AC_C_RESTRICT], |
1095 |
[AC_CACHE_CHECK([for C/C++ restrict keyword], ac_cv_c_restrict, |
[AC_CACHE_CHECK([for C/C++ restrict keyword], ac_cv_c_restrict, |
1096 |
[ac_cv_c_restrict=no |
[ac_cv_c_restrict=no |
1097 |
# Try the official restrict keyword, then gcc's __restrict__, and |
# Try the official restrict keyword, then gcc's __restrict, and |
1098 |
# the less common variants. |
# the less common variants. |
1099 |
for ac_kw in restrict __restrict __restrict__ _Restrict; do |
for ac_kw in restrict __restrict __restrict__ _Restrict; do |
1100 |
AC_COMPILE_IFELSE([AC_LANG_SOURCE( |
AC_COMPILE_IFELSE([AC_LANG_SOURCE( |