aboutsummaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorEdward O'Callaghan <eocallaghan@auroraux.org>2009-10-05 23:05:32 +0000
committerEdward O'Callaghan <eocallaghan@auroraux.org>2009-10-05 23:05:32 +0000
commita2c7535e64c23fc25dffec097f41a61561cc1fb6 (patch)
tree3460d4a236bb43a838a46282e5d6d8457bd56abb /cmake
parent1614e50d9f6d48a38e4dafb4b1a51fd4b37614f3 (diff)
downloadexternal_llvm-a2c7535e64c23fc25dffec097f41a61561cc1fb6.zip
external_llvm-a2c7535e64c23fc25dffec097f41a61561cc1fb6.tar.gz
external_llvm-a2c7535e64c23fc25dffec097f41a61561cc1fb6.tar.bz2
CMake misses a check for sbrk on NetBSD.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83341 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake')
-rwxr-xr-xcmake/config-ix.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/config-ix.cmake b/cmake/config-ix.cmake
index 17feffe..320aaf8 100755
--- a/cmake/config-ix.cmake
+++ b/cmake/config-ix.cmake
@@ -86,6 +86,7 @@ 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(sbrk unistd.h HAVE_SBRK)
check_symbol_exists(strtoll stdlib.h HAVE_STRTOLL)
check_symbol_exists(strerror string.h HAVE_STRERROR)
check_symbol_exists(strerror_r string.h HAVE_STRERROR_R)