Updated the last two header files so that they are configured with
AC_CONFIG_HEADERS. This should prevent LLVM from needlessly re-compiling
on a re-configure.
llvm-svn: 16510
diff --git a/llvm/autoconf/m4/cxx_std_iterator.m4 b/llvm/autoconf/m4/cxx_std_iterator.m4
index 578dcc4..38a6117 100644
--- a/llvm/autoconf/m4/cxx_std_iterator.m4
+++ b/llvm/autoconf/m4/cxx_std_iterator.m4
@@ -15,11 +15,12 @@
ac_cv_cxx_have_std_iterator=no)
AC_LANG_POP([C++])
])
-HAVE_STD_ITERATOR=0
if test "$ac_cv_cxx_have_std_iterator" = yes
then
- HAVE_STD_ITERATOR=1
+ AC_DEFINE(HAVE_STD_ITERATOR,1,[Have std namespace iterator])
+else
+ AC_DEFINE(HAVE_STD_ITERATOR,0,[Does not have std namespace iterator])
fi
-AC_SUBST(HAVE_STD_ITERATOR)])
+])