From 0f0600c901b35a26de8214f94d9d7c911f34fac6 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Tue, 30 Jan 2018 02:18:31 -0800 Subject: [PATCH] Get rid of tests whose results we don't use. (Crud left over from using libpcap's CMakeLists.txt as a basis for this one.) --- CMakeLists.txt | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3482ea81..12226067 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -147,13 +147,6 @@ if(HAVE_NET_PFVAR_H) endif(HAVE_NET_IF_PFLOG_H) endif(HAVE_NET_PFVAR_H) -# -# As the autoconf manual says, AC_HEADER_TIME is obsolete, as all UN*Xes -# let you include both time.h and sys/time.h, so just say we can. -# -check_include_file(bitypes.h HAVE_SYS_BITYPES_H) -check_include_file(limits.h HAVE_LIMITS_H) - # # Functions. # @@ -435,10 +428,6 @@ endif(HAVE_DNET_HTOA) # except that it only checks for the existence of the structure type, # so we use check_struct_has_member() and look for ss_family. # -check_struct_has_member("struct sockaddr_storage" ss_family sys/socket.h HAVE_SOCKADDR_STORAGE) -set(CMAKE_EXTRA_INCLUDE_FILES unistd.h sys/socket.h) -check_type_size("socklen_t" SOCKLEN_T) -set(CMAKE_EXTRA_INCLUDE_FILES unistd.h) # # Check for IPv6 support. @@ -458,11 +447,6 @@ if(HAVE_AF_INET6 AND HAVE_STRUCT_IN6_ADDR) set(HAVE_OS_IPV6_SUPPORT TRUE) endif(HAVE_AF_INET6 AND HAVE_STRUCT_IN6_ADDR) -# -# Structure fields. -# -check_struct_has_member("struct sockaddr" sa_len sys/socket.h HAVE_SOCKADDR_SA_LEN) - ###################################### # External dependencies ######################################