From 5ad4d06006e96b1c7ff663ffcd5e406e06bae1c2 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Mon, 7 Jul 2014 14:13:46 +0200 Subject: Remove a lot of platform compatibilty stuff It's either not used, or no longer relevant. --- CMakeLists.txt | 8 -------- 1 file changed, 8 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 2593a64b..c8de79f7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -378,18 +378,10 @@ else() set(CMAKE_EXTRA_INCLUDE_FILES sys/socket.h) endif() check_function_exists(inet_aton HAVE_INET_ATON) -check_function_exists(inet_ntop HAVE_INET_NTOP) check_function_exists(getaddrinfo HAVE_GETADDRINFO) -check_type_size(socklen_t SOCKLEN_T) set(CMAKE_EXTRA_INCLUDE_FILES) set(CMAKE_REQUIRED_LIBRARIES) -# Check for the newer standard string functions -check_function_exists(snprintf HAVE_SNPRINTF) -check_function_exists(strcasecmp HAVE_STRCASECMP) -check_function_exists(strncasecmp HAVE_STRNCASECMP) -check_function_exists(vsnprintf HAVE_VSNPRINTF) - # Generate config.h and make sure the source finds it configure_file(config.h.in config.h) add_definitions(-DHAVE_CONFIG_H) -- cgit v1.2.3