summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-07-27 18:23:41 +0000
committerDouglas Gregor <dgregor@apple.com>2009-07-27 18:23:41 +0000
commita4e387933940539d811e4ec8561fc101a9fed48a (patch)
treee45d256a207d551384d2d01cf4e08ad0668592ef /cmake
parent5ca53a7ad821613d324e4189ddbb0d468a326146 (diff)
downloadllvm-a4e387933940539d811e4ec8561fc101a9fed48a.tar.gz
llvm-a4e387933940539d811e4ec8561fc101a9fed48a.tar.bz2
llvm-a4e387933940539d811e4ec8561fc101a9fed48a.tar.xz
CMake configuration: find mkdtemp, mkstemp, mktemp.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77219 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake')
-rwxr-xr-xcmake/config-ix.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmake/config-ix.cmake b/cmake/config-ix.cmake
index 3d97d42cd6..c52b70bfb8 100755
--- a/cmake/config-ix.cmake
+++ b/cmake/config-ix.cmake
@@ -65,6 +65,9 @@ check_symbol_exists(floorf math.h HAVE_FLOORF)
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 unistd.h HAVE_MKDTEMP)
+check_symbol_exists(mkstemp unistd.h HAVE_MKSTEMP)
+check_symbol_exists(mktemp unistd.h HAVE_MKTEMP)
check_symbol_exists(pthread_mutex_lock pthread.h HAVE_PTHREAD_MUTEX_LOCK)
check_symbol_exists(strtoll stdlib.h HAVE_STRTOLL)
check_symbol_exists(strerror string.h HAVE_STRERROR)