1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 16:18:48 -05:00

runtests.pl: Added Kerberos detection

This commit is contained in:
Steve Holme 2014-11-22 12:18:17 +00:00
parent 5b437c7637
commit 8cc7e74a8f

View File

@ -212,6 +212,7 @@ my $has_ntlm; # set if libcurl is built with NTLM support
my $has_ntlm_wb; # set if libcurl is built with NTLM delegation to winbind my $has_ntlm_wb; # set if libcurl is built with NTLM delegation to winbind
my $has_sspi; # set if libcurl is built with SSPI support my $has_sspi; # set if libcurl is built with SSPI support
my $has_gssapi; # set if libcurl is built with a GSS-API library my $has_gssapi; # set if libcurl is built with a GSS-API library
my $has_kerberos;# set if libcurl is built with Kerberos support
my $has_charconv;# set if libcurl is built with CharConv support my $has_charconv;# set if libcurl is built with CharConv support
my $has_tls_srp; # set if libcurl is built with TLS-SRP support my $has_tls_srp; # set if libcurl is built with TLS-SRP support
my $has_metalink;# set if curl is built with Metalink support my $has_metalink;# set if curl is built with Metalink support
@ -2403,6 +2404,10 @@ sub checksystem {
# GSS-API enabled # GSS-API enabled
$has_gssapi=1; $has_gssapi=1;
} }
if($feat =~ /Kerberos/i) {
# Kerberos enabled
$has_kerberos=1;
}
if($feat =~ /CharConv/i) { if($feat =~ /CharConv/i) {
# CharConv enabled # CharConv enabled
$has_charconv=1; $has_charconv=1;
@ -2869,6 +2874,11 @@ sub singletest {
next; next;
} }
} }
elsif($1 eq "Kerberos") {
if($has_kerberos) {
next;
}
}
elsif($1 eq "getrlimit") { elsif($1 eq "getrlimit") {
if($has_getrlimit) { if($has_getrlimit) {
next; next;
@ -2994,6 +3004,11 @@ sub singletest {
next; next;
} }
} }
elsif($1 eq "Kerberos") {
if(!$has_kerberos) {
next;
}
}
elsif($1 eq "getrlimit") { elsif($1 eq "getrlimit") {
if(!$has_getrlimit) { if(!$has_getrlimit) {
next; next;