mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Minor formatting changes.
This commit is contained in:
parent
9d941c097c
commit
d7eb228d52
2 changed files with 8 additions and 8 deletions
|
@ -9,9 +9,9 @@ check_function_exists(strftime HAVE_STRFTIME)
|
||||||
check_function_exists(strsep HAVE_STRSEP)
|
check_function_exists(strsep HAVE_STRSEP)
|
||||||
check_function_exists(sigset HAVE_SIGSET)
|
check_function_exists(sigset HAVE_SIGSET)
|
||||||
|
|
||||||
if(HAVE_SIGSET)
|
if (HAVE_SIGSET)
|
||||||
set(SIG_FUNC sigset)
|
set(SIG_FUNC sigset)
|
||||||
else()
|
else ()
|
||||||
set(SIG_FUNC signal)
|
set(SIG_FUNC signal)
|
||||||
check_function_exists(sigaction HAVE_SIGACTION)
|
check_function_exists(sigaction HAVE_SIGACTION)
|
||||||
endif()
|
endif ()
|
||||||
|
|
|
@ -9,15 +9,15 @@ elseif (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
||||||
if (USE_NB_DNS)
|
if (USE_NB_DNS)
|
||||||
include(CheckCSourceCompiles)
|
include(CheckCSourceCompiles)
|
||||||
check_c_source_compiles("
|
check_c_source_compiles("
|
||||||
#include <arpa/nameser.h>
|
#include <arpa/nameser.h>
|
||||||
int main() {
|
int main() {
|
||||||
HEADER *hdr; int d = NS_IN6ADDRSZ; return 0;
|
HEADER *hdr; int d = NS_IN6ADDRSZ; return 0;
|
||||||
}
|
}
|
||||||
" ns_header_defined)
|
" ns_header_defined)
|
||||||
if (NOT ns_header_defined)
|
if (NOT ns_header_defined)
|
||||||
check_c_source_compiles("
|
check_c_source_compiles("
|
||||||
#include <arpa/nameser.h>
|
#include <arpa/nameser.h>
|
||||||
#include <arpa/nameser_compat.h>
|
#include <arpa/nameser_compat.h>
|
||||||
int main() {
|
int main() {
|
||||||
HEADER *hdr; int d = NS_IN6ADDRSZ; return 0;
|
HEADER *hdr; int d = NS_IN6ADDRSZ; return 0;
|
||||||
}
|
}
|
||||||
|
@ -51,7 +51,7 @@ elseif (${CMAKE_SYSTEM_NAME} MATCHES "ultrix")
|
||||||
list(APPEND CMAKE_CXX_FLAGS -std1 -g3)
|
list(APPEND CMAKE_CXX_FLAGS -std1 -g3)
|
||||||
include(CheckCSourceCompiles)
|
include(CheckCSourceCompiles)
|
||||||
check_c_source_compiles("
|
check_c_source_compiles("
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
int main() {
|
int main() {
|
||||||
void c(const struct a *);
|
void c(const struct a *);
|
||||||
return 0;
|
return 0;
|
||||||
|
@ -67,7 +67,7 @@ elseif (${CMAKE_SYSTEM_NAME} MATCHES "hpux" OR
|
||||||
set(CMAKE_REQUIRED_FLAGS -Aa)
|
set(CMAKE_REQUIRED_FLAGS -Aa)
|
||||||
set(CMAKE_REQUIRED_DEFINITIONS -D_HPUX_SOURCE)
|
set(CMAKE_REQUIRED_DEFINITIONS -D_HPUX_SOURCE)
|
||||||
check_c_source_compiles("
|
check_c_source_compiles("
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
int main() {
|
int main() {
|
||||||
int frob(int, char *);
|
int frob(int, char *);
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue