1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 02:33:06 +01:00

CMake configuration: find mkdtemp, mkstemp, mktemp.

llvm-svn: 77219
This commit is contained in:
Douglas Gregor 2009-07-27 18:23:41 +00:00
parent a773ae7a39
commit ea200f4d3a
2 changed files with 6 additions and 3 deletions

View File

@ -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)

View File

@ -237,13 +237,13 @@
#cmakedefine HAVE_MEMORY_H ${HAVE_MEMORY_H}
/* Define to 1 if you have the `mkdtemp' function. */
#undef HAVE_MKDTEMP
#cmakedefine HAVE_MKDTEMP ${HAVE_MKDTEMP}
/* Define to 1 if you have the `mkstemp' function. */
#undef HAVE_MKSTEMP
#cmakedefine HAVE_MKSTEMP ${HAVE_MKSTEMP}
/* Define to 1 if you have the `mktemp' function. */
#undef HAVE_MKTEMP
#cmakedefine HAVE_MKTEMP ${HAVE_MKTEMP}
/* Define to 1 if you have a working `mmap' system call. */
#undef HAVE_MMAP