The framework this check detects is necessary for the function
`SCDynamicStoreCopyProxies()` used in `lib/macos.c`. Non-c-ares,
IPv6-enabled builds touch this codepath.
Limit the feature check for builds that actually need it.
It brings this in sync with CMake which already worked this way.
Cherry-picked from #14097
Closes #14126
CURL_CHECK_WIN32_CRYPTO
CURL_DARWIN_CFLAGS
-CURL_DARWIN_SYSTEMCONFIGURATION
CURL_SUPPORTS_BUILTIN_AVAILABLE
AM_CONDITIONAL([HAVE_WINDRES],
if test "x$want_ares" != xyes; then
CURL_CHECK_OPTION_THREADED_RESOLVER
+
+ if test "$ipv6" = yes; then
+ CURL_DARWIN_SYSTEMCONFIGURATION
+ fi
fi
dnl ************************************************************