diff options
author | John Criswell <criswell@uiuc.edu> | 2004-09-24 21:19:06 +0000 |
---|---|---|
committer | John Criswell <criswell@uiuc.edu> | 2004-09-24 21:19:06 +0000 |
commit | 4046846d2cb36a6281b853c73776584063cca19d (patch) | |
tree | 6191874566147f65063c83f4f05387e9a0102638 /include | |
parent | 9f011866e90928b9b798692a9cf0180e8f327540 (diff) | |
download | external_llvm-4046846d2cb36a6281b853c73776584063cca19d.zip external_llvm-4046846d2cb36a6281b853c73776584063cca19d.tar.gz external_llvm-4046846d2cb36a6281b853c73776584063cca19d.tar.bz2 |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16510 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/ADT/iterator.in | 12 | ||||
-rw-r--r-- | include/llvm/Config/config.h.in | 30 | ||||
-rw-r--r-- | include/llvm/Support/MutexGuard.h | 4 | ||||
-rw-r--r-- | include/llvm/Support/ThreadSupport.h.in | 4 |
4 files changed, 44 insertions, 6 deletions
diff --git a/include/llvm/ADT/iterator.in b/include/llvm/ADT/iterator.in index 072beb7..f74aca2 100644 --- a/include/llvm/ADT/iterator.in +++ b/include/llvm/ADT/iterator.in @@ -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 @@ struct bidirectional_iterator 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. /// diff --git a/include/llvm/Config/config.h.in b/include/llvm/Config/config.h.in index 82ae2d2..e9cdcdf 100644 --- a/include/llvm/Config/config.h.in +++ b/include/llvm/Config/config.h.in @@ -18,6 +18,9 @@ /* Define to 1 if you have the `backtrace' function. */ #undef HAVE_BACKTRACE +/* Does not have bi-directional iterator */ +#undef HAVE_BI_ITERATOR + /* Define to 1 if you have the <dlfcn.h> header file. */ #undef HAVE_DLFCN_H @@ -34,6 +37,9 @@ */ #undef HAVE_FINITE_IN_IEEEFP_H +/* Does not have forward iterator */ +#undef HAVE_FWD_ITERATOR + /* Define to 1 if you have the `getcwd' function. */ #undef HAVE_GETCWD @@ -46,6 +52,18 @@ /* Define to 1 if you have the `gettimeofday' function. */ #undef HAVE_GETTIMEOFDAY +/* Does not have <hash_map> */ +#undef HAVE_GLOBAL_HASH_MAP + +/* Does not have hash_set in global namespace */ +#undef HAVE_GLOBAL_HASH_SET + +/* Does not have ext/hash_map */ +#undef HAVE_GNU_EXT_HASH_MAP + +/* Does not have hash_set in gnu namespace */ +#undef HAVE_GNU_EXT_HASH_SET + /* Define to 1 if the system has the type `int64_t'. */ #undef HAVE_INT64_T @@ -108,12 +126,21 @@ /* Define to have the %a format string */ #undef HAVE_PRINTF_A +/* Have pthread_mutex_lock */ +#undef HAVE_PTHREAD_MUTEX_LOCK + /* Define to 1 if you have the <stdint.h> header file. */ #undef HAVE_STDINT_H /* Define to 1 if you have the <stdlib.h> header file. */ #undef HAVE_STDLIB_H +/* Does not have ext/hash_map> */ +#undef HAVE_STD_EXT_HASH_MAP + +/* Does not have hash_set in std namespace */ +#undef HAVE_STD_EXT_HASH_SET + /* Define to 1 if your compiler defines std::isinf in the <cmath> header file. */ #undef HAVE_STD_ISINF_IN_CMATH @@ -122,6 +149,9 @@ */ #undef HAVE_STD_ISNAN_IN_CMATH +/* Does not have std namespace iterator */ +#undef HAVE_STD_ITERATOR + /* Define to 1 if you have the `strdup' function. */ #undef HAVE_STRDUP diff --git a/include/llvm/Support/MutexGuard.h b/include/llvm/Support/MutexGuard.h index 48428b8..427e0c3 100644 --- a/include/llvm/Support/MutexGuard.h +++ b/include/llvm/Support/MutexGuard.h @@ -17,7 +17,9 @@ #ifndef SUPPORT_THREADSUPPORT_H #define SUPPORT_THREADSUPPORT_H -#if @HAVE_PTHREAD_MUTEX_LOCK@ +#undef HAVE_PTHREAD_MUTEX_LOCK + +#ifdef HAVE_PTHREAD_MUTEX_LOCK #include "llvm/Support/ThreadSupport-PThreads.h" #else #include "llvm/Support/ThreadSupport-NoSupport.h" diff --git a/include/llvm/Support/ThreadSupport.h.in b/include/llvm/Support/ThreadSupport.h.in index 48428b8..427e0c3 100644 --- a/include/llvm/Support/ThreadSupport.h.in +++ b/include/llvm/Support/ThreadSupport.h.in @@ -17,7 +17,9 @@ #ifndef SUPPORT_THREADSUPPORT_H #define SUPPORT_THREADSUPPORT_H -#if @HAVE_PTHREAD_MUTEX_LOCK@ +#undef HAVE_PTHREAD_MUTEX_LOCK + +#ifdef HAVE_PTHREAD_MUTEX_LOCK #include "llvm/Support/ThreadSupport-PThreads.h" #else #include "llvm/Support/ThreadSupport-NoSupport.h" |