diff --git a/m4/dune_all.m4 b/m4/dune_all.m4
index f456737f9d11aab30f2c66058bcf91775f88a8ea..b20fb9db7ef96ba9ed26c2611d063bb07d72a530 100644
--- a/m4/dune_all.m4
+++ b/m4/dune_all.m4
@@ -33,7 +33,7 @@ dnl check for programs
 
 dnl checks for header files.
   AC_REQUIRE([AC_HEADER_STDC])
-  AC_CHECK_HEADERS([malloc.h string.h tr1/type_traits])
+  AC_CHECK_HEADERS([malloc.h string.h type_traits tr1/type_traits array tr1/array])
 
 dnl checks for typedefs, structures, and compiler characteristics.
 #  doesn't work, but we don't need it currently