[llvm-commits] CVS: llvm/autoconf/m4/cxx_bidi_iterator.m4 cxx_fwd_iterator.m4 cxx_std_iterator.m4
John Criswell
criswell at cs.uiuc.edu
Fri Sep 24 14:19:21 PDT 2004
Changes in directory llvm/autoconf/m4:
cxx_bidi_iterator.m4 updated: 1.2 -> 1.3
cxx_fwd_iterator.m4 updated: 1.2 -> 1.3
cxx_std_iterator.m4 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: (+12 -9)
Index: llvm/autoconf/m4/cxx_bidi_iterator.m4
diff -u llvm/autoconf/m4/cxx_bidi_iterator.m4:1.2 llvm/autoconf/m4/cxx_bidi_iterator.m4:1.3
--- llvm/autoconf/m4/cxx_bidi_iterator.m4:1.2 Sun Sep 19 17:31:49 2004
+++ llvm/autoconf/m4/cxx_bidi_iterator.m4 Fri Sep 24 16:19:05 2004
@@ -13,9 +13,10 @@
#endif]], [[bidirectional_iterator<int,int> t; return 0;]])],[ac_cv_cxx_have_bi_iterator=yes],[ac_cv_cxx_have_bi_iterator=no])
AC_LANG_POP([C++])
])
-HAVE_BI_ITERATOR=0
if test "$ac_cv_cxx_have_bi_iterator" = yes
then
- HAVE_BI_ITERATOR=1
+ AC_DEFINE(HAVE_BI_ITERATOR,1,[Have bi-directional iterator])
+else
+ AC_DEFINE(HAVE_BI_ITERATOR,0,[Does not have bi-directional iterator])
fi
-AC_SUBST(HAVE_BI_ITERATOR)])
+])
Index: llvm/autoconf/m4/cxx_fwd_iterator.m4
diff -u llvm/autoconf/m4/cxx_fwd_iterator.m4:1.2 llvm/autoconf/m4/cxx_fwd_iterator.m4:1.3
--- llvm/autoconf/m4/cxx_fwd_iterator.m4:1.2 Sun Sep 19 17:31:49 2004
+++ llvm/autoconf/m4/cxx_fwd_iterator.m4 Fri Sep 24 16:19:05 2004
@@ -11,11 +11,12 @@
#endif]], [[forward_iterator<int,int> t; return 0;]])],[ac_cv_cxx_have_fwd_iterator=yes],[ac_cv_cxx_have_fwd_iterator=no])
AC_LANG_POP([C++])
])
-HAVE_FWD_ITERATOR=0
if test "$ac_cv_cxx_have_fwd_iterator" = yes
then
- HAVE_FWD_ITERATOR=1
+ AC_DEFINE(HAVE_FWD_ITERATOR,1,[Have forward iterator])
+else
+ AC_DEFINE(HAVE_FWD_ITERATOR,0,[Does not have forward iterator])
fi
-AC_SUBST(HAVE_FWD_ITERATOR)])
+])
Index: llvm/autoconf/m4/cxx_std_iterator.m4
diff -u llvm/autoconf/m4/cxx_std_iterator.m4:1.2 llvm/autoconf/m4/cxx_std_iterator.m4:1.3
--- llvm/autoconf/m4/cxx_std_iterator.m4:1.2 Sun Sep 19 17:31:49 2004
+++ llvm/autoconf/m4/cxx_std_iterator.m4 Fri Sep 24 16:19:05 2004
@@ -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)])
+])
More information about the llvm-commits
mailing list