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.m43
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/make/aclocal.m4 b/lib/make/aclocal.m4
index e96e7a46..db22e015 100644
--- a/lib/make/aclocal.m4
+++ b/lib/make/aclocal.m4
@@ -1210,7 +1210,8 @@ AC_TRY_COMPILE(,
// Test C99 comments
// Test variable declarations in the middle of blocks
0;
-int x;
+int x = 1;
+for (int i=0; i<10; ++i) x+=i;
, cctk_cv_have_c99=yes, cctk_cv_have_c99=no)
])
if test "$cctk_cv_have_c99" = "yes" ; then