CMake: Eliminate unused checks and #undef(s) as below;

STACK_DIRECTION
YYTEXT_POINTER
HAVE_NAMESPACES
HAVE_STD_ITERATOR
HAVE_FWD_ITERATOR
HAVE_BI_ITERATOR
HAVE_GLOBAL_HASH_MAP
HAVE_GLOBAL_HASH_SET
HAVE_GNU_EXT_HASH_MAP
HAVE_GNU_EXT_HASH_SET
HAVE_STD_EXT_HASH_MAP
HAVE_STD_EXT_HASH_SET

llvm-svn: 137423
This commit is contained in:
NAKAMURA Takumi 2011-08-12 03:27:48 +00:00
parent c0a06c5cfd
commit 0d888ad7bb
2 changed files with 0 additions and 50 deletions

View File

@ -198,11 +198,6 @@ if( LLVM_USING_GLIBC )
add_llvm_definitions( -D_GNU_SOURCE )
endif()
# Type checks
check_type_exists(std::bidirectional_iterator<int,int> "iterator;iostream" HAVE_BI_ITERATOR)
check_type_exists(std::iterator<int,int,int> iterator HAVE_STD_ITERATOR)
check_type_exists(std::forward_iterator<int,int> iterator HAVE_FWD_ITERATOR)
set(headers "")
if (HAVE_SYS_TYPES_H)
set(headers ${headers} "sys/types.h")

View File

@ -674,21 +674,6 @@
/* Define to `unsigned int' if <sys/types.h> does not define. */
#undef size_t
/* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */
#undef STAT_MACROS_BROKEN
/* If using the C implementation of alloca, define if you know the
direction of stack growth for your system; otherwise it will be
automatically deduced at runtime.
STACK_DIRECTION > 0 => grows toward higher addresses
STACK_DIRECTION < 0 => grows toward lower addresses
STACK_DIRECTION = 0 => direction of growth unknown */
#undef STACK_DIRECTION
/* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
`char[]'. */
#undef YYTEXT_POINTER
/* Define to a function replacing strtoll */
#cmakedefine strtoll ${strtoll}
@ -704,36 +689,6 @@
/* Define to 1 if you have the `_chsize_s' function. */
#cmakedefine HAVE__CHSIZE_S ${HAVE__CHSIZE_S}
/* define if the compiler implements namespaces */
#undef HAVE_NAMESPACES
/* Does not have std namespace iterator */
#undef HAVE_STD_ITERATOR
/* Does not have forward iterator */
#undef HAVE_FWD_ITERATOR
/* Does not have bi-directional iterator */
#undef HAVE_BI_ITERATOR
/* 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
/* 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
/* Added by Kevin -- Maximum path length */
#cmakedefine MAXPATHLEN ${MAXPATHLEN}