From: Kamil Rytarowski Date: Thu, 20 Apr 2017 16:35:36 +0000 (+0000) Subject: Resurrect LLDB Standalone build on NetBSD X-Git-Tag: llvmorg-5.0.0-rc1~7170 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=37283039cda37ef5cedfe66d4ea6fa9f9f6051c3;p=platform%2Fupstream%2Fllvm.git Resurrect LLDB Standalone build on NetBSD Include CheckIncludeFile for check_include_file() in CMake. Detect in CMake. This header is available on NetBSD. llvm-svn: 300853 --- diff --git a/lldb/cmake/modules/LLDBConfig.cmake b/lldb/cmake/modules/LLDBConfig.cmake index 79e82fb..60af950 100644 --- a/lldb/cmake/modules/LLDBConfig.cmake +++ b/lldb/cmake/modules/LLDBConfig.cmake @@ -433,7 +433,9 @@ endif() find_package(Backtrace) +include(CheckIncludeFile) 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