X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=CMake%2F_Include.cmake;h=a5a98710aaf31f3a3d21a71ef1015ce9e408ac6d;hb=221daef8ec1b14a0d076842d0b943d091aa5ba74;hp=a419d8dfdc0b023fff9106e7b3ef8635807764f9;hpb=2f289c64f625962d945ec3bee80f36bc5c61ee35;p=awesomized%2Flibmemcached diff --git a/CMake/_Include.cmake b/CMake/_Include.cmake index a419d8df..a5a98710 100644 --- a/CMake/_Include.cmake +++ b/CMake/_Include.cmake @@ -6,7 +6,6 @@ if(CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME) endif() include(CMakePushCheckState) -include(GNUInstallDirs) include(CMakePackageConfigHelpers) macro(make_have_identifier NAME ID) @@ -121,6 +120,8 @@ check_include(dlfcn.h) 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) @@ -133,8 +134,12 @@ check_type(in_port_t netinet/in.h) check_type(pid_t sys/types.h) check_type(ssize_t sys/types.h) check_type("struct msghdr" sys/socket.h) +check_type("struct timespec" time.h) check_cxx_symbol(abi::__cxa_demangle cxxabi.h) +check_symbol(CLOCK_MONOTONIC time.h) +check_symbol(clock_gettime time.h) +check_symbol(ERESTART errno.h) check_symbol(fcntl fcntl.h) check_symbol(gettimeofday sys/time.h) check_symbol(htonll arpa/inet.h)