Lines Matching refs:CURL
2 # Determine if curl-config --protocols/--features matches the
3 # curl --version protocols/features
6 print "Usage: $0 curl-config-script curl-version-output-file features|protocols\n";
12 # Read the output of curl --version
14 open(CURL, "$ARGV[1]") || die "Can't get curl $what list\n";
15 while( <CURL> )
19 close CURL;
23 @curl = split / /,$1;
25 # These features are not supported by curl-config
26 @curl = grep(!/^(Debug|TrackMemory|Metalink|Largefile|CharConv)$/i, @curl);
27 @curl = sort @curl;
29 # Read the output of curl-config
31 open(CURLCONFIG, "sh $ARGV[0] --$what|") || die "Can't get curl-config $what list\n";
35 # ignore curl-config --features not in curl's feature list
42 my $curlproto = join ' ', @curl;
48 print "curl: $curlproto\n";
49 print "curl-config: $curlconfigproto\n";