CMake misses a check for sbrk on NetBSD.
authorEdward O'Callaghan <eocallaghan@auroraux.org>
Mon, 5 Oct 2009 23:05:32 +0000 (23:05 +0000)
committerEdward O'Callaghan <eocallaghan@auroraux.org>
Mon, 5 Oct 2009 23:05:32 +0000 (23:05 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83341 91177308-0d34-0410-b5e6-96231b3b80d8

cmake/config-ix.cmake

index 17feffe56ea5dbd610bc0f7f0a36cdf0cc5f7321..320aaf899402dc47f3a957f70403594b9a34e0f6 100755 (executable)
@@ -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)