@curl = split / /,$1;
# These features are not supported by curl-config
-@curl = grep(!/^(Debug|TrackMemory|Metalink|Largefile|CharConv|GSS-Negotiate|SPNEGO)$/i, @curl);
+@curl = grep(!/^(Debug|TrackMemory|Metalink|Largefile|CharConv)$/i, @curl);
@curl = sort @curl;
# Read the output of curl-config
while( <CURLCONFIG> )
{
chomp;
+ # ignore curl-config --features not in curl's feature list
push @curl_config, lc($_);
}
close CURLCONFIG;