summaryrefslogtreecommitdiff
path: root/tests/runtests.pl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/runtests.pl')
-rwxr-xr-xtests/runtests.pl15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl
index 8b3ba67d8..046f8d356 100755
--- a/tests/runtests.pl
+++ b/tests/runtests.pl
@@ -268,6 +268,9 @@ my $has_manual; # set if built with built-in manual
my $has_win32; # set if built for Windows
my $has_mingw; # set if built with MinGW (as opposed to MinGW-w64)
my $has_hyper = 0; # set if built with Hyper
+my $has_libssh2; # set if built with libssh2
+my $has_libssh; # set if built with libssh
+my $has_wolfssh; # set if built with wolfssh
my $has_unicode; # set if libcurl is built with Unicode support
# this version is decided by the particular nghttp2 library that is being used
@@ -2874,6 +2877,9 @@ sub setupfeatures {
$feature{"large_file"} = $has_largefile;
$feature{"ld_preload"} = ($has_ldpreload && !$debug_build);
$feature{"libz"} = $has_libz;
+ $feature{"libssh2"} = $has_libssh2;
+ $feature{"libssh"} = $has_libssh;
+ $feature{"wolfssh"} = $has_wolfssh;
$feature{"manual"} = $has_manual;
$feature{"MinGW"} = $has_mingw;
$feature{"MultiSSL"} = $has_multissl;
@@ -3026,6 +3032,15 @@ sub checksystem {
if ($libcurl =~ /Hyper/i) {
$has_hyper=1;
}
+ if ($libcurl =~ /libssh2/i) {
+ $has_libssh2=1;
+ }
+ if ($libcurl =~ /libssh\//i) {
+ $has_libssh=1;
+ }
+ if ($libcurl =~ /wolfssh/i) {
+ $has_wolfssh=1;
+ }
}
elsif($_ =~ /^Protocols: (.*)/i) {
# these are the protocols compiled in to this libcurl