mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 18:18:19 +00:00
Merge with origin/topic/cmake-port.
Needed to readd the broctl/broccoli/binpac submodules manually, as git seemed to get confused by the existing directories.
This commit is contained in:
parent
c1768336c4
commit
610d081c4b
125 changed files with 2304 additions and 7592 deletions
15
cmake/CheckFunctions.cmake
Normal file
15
cmake/CheckFunctions.cmake
Normal file
|
@ -0,0 +1,15 @@
|
|||
include(CheckFunctionExists)
|
||||
|
||||
check_function_exists(getopt_long HAVE_GETOPT_LONG)
|
||||
check_function_exists(mallinfo HAVE_MALLINFO)
|
||||
check_function_exists(strcasestr HAVE_STRCASESTR)
|
||||
check_function_exists(strerror HAVE_STRERROR)
|
||||
check_function_exists(strsep HAVE_STRSEP)
|
||||
check_function_exists(sigset HAVE_SIGSET)
|
||||
|
||||
if (HAVE_SIGSET)
|
||||
set(SIG_FUNC sigset)
|
||||
else ()
|
||||
set(SIG_FUNC signal)
|
||||
check_function_exists(sigaction HAVE_SIGACTION)
|
||||
endif ()
|
Loading…
Add table
Add a link
Reference in a new issue