summaryrefslogtreecommitdiff
path: root/lib/make/aclocal.m4
diff options
context:
space:
mode:
Diffstat (limited to 'lib/make/aclocal.m4')
-rw-r--r--lib/make/aclocal.m42
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/make/aclocal.m4 b/lib/make/aclocal.m4
index 39035a1c..2b8fb597 100644
--- a/lib/make/aclocal.m4
+++ b/lib/make/aclocal.m4
@@ -286,6 +286,7 @@ for ac_kw in restrict __restrict__ __restrict; do
AC_TRY_COMPILE(, [
double * $ac_kw foo;
void bar (void * $ac_kw arr[]);
+struct tux { char * $ac_kw arr[3]; };
], [cctk_cv_c_restrict=$ac_kw; break])
done
])
@@ -305,6 +306,7 @@ for ac_kw in restrict __restrict__ __restrict; do
AC_TRY_COMPILE(, [
double * $ac_kw foo;
void bar (void * $ac_kw arr[]);
+struct tux { char * $ac_kw arr[3]; };
], [cctk_cv_cxx_restrict=$ac_kw; break])
done
AC_LANG_RESTORE