endif()
include(CMakePushCheckState)
-include(GNUInstallDirs)
include(CMakePackageConfigHelpers)
macro(make_have_identifier NAME ID)
check_include(getopt.h)
check_include(libgen.h)
check_include(netdb.h)
+check_include(netinet/in.h)
+check_include(netinet/tcp.h)
check_include(poll.h)
check_include(strings.h)
check_include(sys/poll.h)
check_type("struct msghdr" sys/socket.h)
check_cxx_symbol(abi::__cxa_demangle cxxabi.h)
+check_symbol(ERESTART errno.h)
check_symbol(fcntl fcntl.h)
+check_symbol(gettimeofday sys/time.h)
check_symbol(htonll arpa/inet.h)
+check_symbol(index strings.h)
check_symbol(MSG_DONTWAIT sys/socket.h)
check_symbol(MSG_MORE sys/socket.h)
check_symbol(MSG_NOSIGNAL sys/socket.h)
check_symbol(SO_RCVTIMEO sys/socket.h)
check_symbol(SO_SNDTIMEO sys/socket.h)
+check_symbol(rand stdlib.h)
+check_symbol(random stdlib.h)
+check_symbol(realpath stdlib.h)
check_symbol(sendmsg sys/socket.h)
check_symbol(setenv stdlib.h)
check_symbol(strerror_r string.h)