summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2018-04-02 01:46:08 +0000
committerNico Weber <nicolasweber@gmx.de>2018-04-02 01:46:08 +0000
commitd8156bdb482c978787607710f385758f77bd9236 (patch)
treecd565dbc32140d87fdfb7ef34bfa29f85b7203fe /cmake
parent8b17c46f7597d2ff7fd96610a449944741b4e33f (diff)
Remove a few unreferenced config.h defines.
Found by looking through the output of for f in $(grep -o '\bHAVE_[A-Z0-9_]*\b' llvm/cmake/config-ix.cmake); do echo $f $(git grep $f '*' | wc -l); done in the monorepo. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@328957 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake')
-rw-r--r--cmake/config-ix.cmake5
1 files changed, 0 insertions, 5 deletions
diff --git a/cmake/config-ix.cmake b/cmake/config-ix.cmake
index 91055429600..34ad356a2a1 100644
--- a/cmake/config-ix.cmake
+++ b/cmake/config-ix.cmake
@@ -228,11 +228,6 @@ check_symbol_exists(mallctl malloc_np.h HAVE_MALLCTL)
check_symbol_exists(mallinfo malloc.h HAVE_MALLINFO)
check_symbol_exists(malloc_zone_statistics malloc/malloc.h
HAVE_MALLOC_ZONE_STATISTICS)
-check_symbol_exists(mkdtemp "stdlib.h;unistd.h" HAVE_MKDTEMP)
-check_symbol_exists(mkstemp "stdlib.h;unistd.h" HAVE_MKSTEMP)
-check_symbol_exists(mktemp "stdlib.h;unistd.h" HAVE_MKTEMP)
-check_symbol_exists(getcwd unistd.h HAVE_GETCWD)
-check_symbol_exists(gettimeofday sys/time.h HAVE_GETTIMEOFDAY)
check_symbol_exists(getrlimit "sys/types.h;sys/time.h;sys/resource.h" HAVE_GETRLIMIT)
check_symbol_exists(posix_spawn spawn.h HAVE_POSIX_SPAWN)
check_symbol_exists(pread unistd.h HAVE_PREAD)