mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Moved custom CMake includes up one directory.
This commit is contained in:
parent
d1e0008999
commit
9d941c097c
10 changed files with 1 additions and 1 deletions
17
cmake/CheckFunctions.cmake
Normal file
17
cmake/CheckFunctions.cmake
Normal file
|
@ -0,0 +1,17 @@
|
|||
include(CheckFunctionExists)
|
||||
|
||||
check_function_exists(getopt_long HAVE_GETOPT_LONG)
|
||||
check_function_exists(mallinfo HAVE_MALLINFO)
|
||||
check_function_exists(pfopen HAVE_PFOPEN)
|
||||
check_function_exists(strcasestr HAVE_STRCASESTR)
|
||||
check_function_exists(strerror HAVE_STRERROR)
|
||||
check_function_exists(strftime HAVE_STRFTIME)
|
||||
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