[Lldb-commits] [lldb] r300654 - [CMake] Add configure check for sys/event.h

Chris Bieneman via lldb-commits lldb-commits at lists.llvm.org
Tue Apr 18 19:53:54 PDT 2017


Author: cbieneman
Date: Tue Apr 18 21:53:53 2017
New Revision: 300654

URL: http://llvm.org/viewvc/llvm-project?rev=300654&view=rev
Log:
[CMake] Add configure check for sys/event.h

This enables the kqueue path in MainLoop for Darwin and BSD.

Modified:
    lldb/trunk/cmake/modules/LLDBConfig.cmake

Modified: lldb/trunk/cmake/modules/LLDBConfig.cmake
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/cmake/modules/LLDBConfig.cmake?rev=300654&r1=300653&r2=300654&view=diff
==============================================================================
--- lldb/trunk/cmake/modules/LLDBConfig.cmake (original)
+++ lldb/trunk/cmake/modules/LLDBConfig.cmake Tue Apr 18 21:53:53 2017
@@ -436,6 +436,7 @@ check_symbol_exists(ppoll poll.h HAVE_PP
 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




More information about the lldb-commits mailing list