1 diff --git a/Utilities/cmcurl/CMakeLists.txt b/Utilities/cmcurl/CMakeLists.txt
2 index b766aee425..ad50e64ce6 100644
3 --- a/Utilities/cmcurl/CMakeLists.txt
4 +++ b/Utilities/cmcurl/CMakeLists.txt
5 @@ -466,13 +466,6 @@ if(ENABLE_IPV6 AND NOT WIN32)
7 if(CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND NOT ENABLE_ARES)
8 set(use_core_foundation_and_core_services ON)
10 - find_library(SYSTEMCONFIGURATION_FRAMEWORK "SystemConfiguration")
11 - if(NOT SYSTEMCONFIGURATION_FRAMEWORK)
12 - message(FATAL_ERROR "SystemConfiguration framework not found")
15 - list(APPEND CURL_LIBS "-framework SystemConfiguration")
19 diff --git a/Utilities/cmcurl/lib/curl_setup.h b/Utilities/cmcurl/lib/curl_setup.h
20 index f7ba7e92a5..e4663cbf36 100644
21 --- a/Utilities/cmcurl/lib/curl_setup.h
22 +++ b/Utilities/cmcurl/lib/curl_setup.h
24 * performing this task will result in a synthesized IPv6 address.
26 #if defined(__APPLE__) && !defined(USE_ARES)
27 -#include <TargetConditionals.h>
28 -#define USE_RESOLVE_ON_IPS 1
29 -# if TARGET_OS_MAC && !(defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE) && \
31 -# define CURL_MACOS_CALL_COPYPROXIES 1