summaryrefslogtreecommitdiffstats
path: root/llvm/cmake
diff options
context:
space:
mode:
authorJoerg Sonnenberger <joerg@bec.de>2016-09-29 21:18:05 +0000
committerJoerg Sonnenberger <joerg@bec.de>2016-09-29 21:18:05 +0000
commit4b2a79efddeae58961dc59205741f4144565a43c (patch)
treeb105c6af8e14787e0ba381b4e4794b5dea58dc17 /llvm/cmake
parentd69a8a83e804aca5afc01a19e23a83becd91addc (diff)
downloadbcm5719-llvm-4b2a79efddeae58961dc59205741f4144565a43c.tar.gz
bcm5719-llvm-4b2a79efddeae58961dc59205741f4144565a43c.zip
Check for sysconf(3).
llvm-svn: 282772
Diffstat (limited to 'llvm/cmake')
-rwxr-xr-xllvm/cmake/config-ix.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/cmake/config-ix.cmake b/llvm/cmake/config-ix.cmake
index 90e83070b9c..5c34fd04453 100755
--- a/llvm/cmake/config-ix.cmake
+++ b/llvm/cmake/config-ix.cmake
@@ -148,6 +148,7 @@ check_symbol_exists(arc4random "stdlib.h" HAVE_DECL_ARC4RANDOM)
check_symbol_exists(backtrace "execinfo.h" HAVE_BACKTRACE)
check_symbol_exists(_Unwind_Backtrace "unwind.h" HAVE__UNWIND_BACKTRACE)
check_symbol_exists(getpagesize unistd.h HAVE_GETPAGESIZE)
+check_symbol_exists(sysconf unistd.h HAVE_SYSCONF)
check_symbol_exists(getrusage sys/resource.h HAVE_GETRUSAGE)
check_symbol_exists(setrlimit sys/resource.h HAVE_SETRLIMIT)
check_symbol_exists(isatty unistd.h HAVE_ISATTY)
OpenPOWER on IntegriCloud