summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Bieneman <beanz@apple.com>2017-04-19 02:53:53 +0000
committerChris Bieneman <beanz@apple.com>2017-04-19 02:53:53 +0000
commit94c17081101920661fe8f8cf7f7ff685d9cbc668 (patch)
tree32fddb89e7fd12d77f4dbf158d89ae9c0d312e8f
parenteb86173f7bfe9f794c59c8a996f41f19a839963a (diff)
downloadbcm5719-llvm-94c17081101920661fe8f8cf7f7ff685d9cbc668.tar.gz
bcm5719-llvm-94c17081101920661fe8f8cf7f7ff685d9cbc668.zip
[CMake] Add configure check for sys/event.h
This enables the kqueue path in MainLoop for Darwin and BSD. llvm-svn: 300654
-rw-r--r--lldb/cmake/modules/LLDBConfig.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/cmake/modules/LLDBConfig.cmake b/lldb/cmake/modules/LLDBConfig.cmake
index 5e64c177ec0..adf78289690 100644
--- a/lldb/cmake/modules/LLDBConfig.cmake
+++ b/lldb/cmake/modules/LLDBConfig.cmake
@@ -436,6 +436,7 @@ check_symbol_exists(ppoll poll.h HAVE_PPOLL)
check_symbol_exists(sigaction signal.h HAVE_SIGACTION)
check_include_file(termios.h HAVE_TERMIOS_H)
+check_include_file(sys/event.h HAVE_SYS_EVENT_H)
# These checks exist in LLVM's configuration, so I want to match the LLVM names
# so that the check isn't duplicated, but we translate them into the LLDB names
OpenPOWER on IntegriCloud