nghttp2/nghttp2
CMakeLists.txt
:380
check_function_exists(accept4 HAVE_ACCEPT4)
check_function_exists(accept4 HAVE_ACCEPT4)
check_cxx_symbol_exists(accept4 sys/socket.h HAVE_ACCEPT4)
check_function_exists(accept4 HAVE_ACCEPT4)
add_definitions(-DHAVE_ACCEPT4)
check_cxx_symbol_exists(accept4 "sys/socket.h" HAVE_ACCEPT4)
check_symbol_exists(accept4 "sys/socket.h" HAVE_ACCEPT4)
check_function_exists(accept4 HAVE_ACCEPT4)
list(APPEND RE_DEFINITIONS HAVE_ACCEPT4)
check_symbol_exists(accept4 "sys/socket.h" HAVE_ACCEPT4)
check_function_exists(accept4 HAVE_ACCEPT4)
check_symbol_exists(accept4 "sys/socket.h" HAVE_ACCEPT4)
CHECK_FUNCTION_EXISTS (accept4 HAVE_ACCEPT4)
check_function_exists("accept4" HAVE_ACCEPT4)
check_function_exists(accept4 HAVE_ACCEPT4)
check_function_exists(accept4 HAVE_ACCEPT4)
add_definitions(-DHAVE_ACCEPT4)
check_cxx_symbol_exists(accept4 sys/socket.h HAVE_ACCEPT4)
check_symbol_exists(accept4 sys/socket.h HAVE_ACCEPT4)
check_symbol_exists(accept4 "sys/types.h" HAVE_ACCEPT4)
CHECK_FUNCTION_EXISTS(accept4 HAVE_ACCEPT4)
check_c_source_compiles("
#define _GNU_SOURCE
#include <stdio.h>
#include <sys/socket.h>
int main() {
accept4(0, NULL, NULL, 0);
return 0;
}
" HAVE_ACCEPT4)
check_function_exists("accept4" HAVE_ACCEPT4)
check_function_exists(accept4 HAVE_ACCEPT4)
add_definitions(-DHAVE_ACCEPT4)