[llvm-commits] CVS: llvm/include/llvm/ADT/iterator.in

John Criswell criswell at cs.uiuc.edu
Fri Sep 24 14:19:19 PDT 2004



Changes in directory llvm/include/llvm/ADT:

iterator.in updated: 1.2 -> 1.3
---
Log message:

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.



---
Diffs of the changes:  (+8 -4)

Index: llvm/include/llvm/ADT/iterator.in
diff -u llvm/include/llvm/ADT/iterator.in:1.2 llvm/include/llvm/ADT/iterator.in:1.3
--- llvm/include/llvm/ADT/iterator.in:1.2	Wed Sep  1 17:55:34 2004
+++ llvm/include/llvm/ADT/iterator.in	Fri Sep 24 16:19:05 2004
@@ -30,8 +30,12 @@
 
 #include <iterator>
 
-#if !@HAVE_BI_ITERATOR@
-# if @HAVE_STD_ITERATOR@
+#undef HAVE_BI_ITERATOR
+#undef HAVE_STD_ITERATOR
+#undef HAVE_FWD_ITERATOR
+
+#if !HAVE_BI_ITERATOR
+# if HAVE_STD_ITERATOR
 /// If the bidirectional iterator is not defined, we attempt to define it in
 /// terms of the C++ standard iterator. Otherwise, we import it with a "using"
 /// statement.
@@ -47,8 +51,8 @@
 using std::bidirectional_iterator;
 #endif
 
-#if !@HAVE_FWD_ITERATOR@
-# if @HAVE_STD_ITERATOR@
+#if !HAVE_FWD_ITERATOR
+# if HAVE_STD_ITERATOR
 /// If the forward iterator is not defined, attempt to define it in terms of
 /// the C++ standard iterator. Otherwise, we import it with a "using" statement.
 ///






More information about the llvm-commits mailing list