]> xenbits.xensource.com Git - libvirt.git/commit
m4: checking if ssh_get_server_publickey() exists.
authorJulio Faracco <jcfaracco@gmail.com>
Thu, 10 May 2018 20:38:56 +0000 (17:38 -0300)
committerAndrea Bolognani <abologna@redhat.com>
Fri, 11 May 2018 08:38:08 +0000 (10:38 +0200)
commit463fa9c7629a260af9ac103516731ffc846194f6
tree03a782400db2e4f5ba3ade1798ecb5987acb7e1e
parentb0cd8045f012af78e863cd19f74e9db6c1b5dfdd
m4: checking if ssh_get_server_publickey() exists.

This commit adds some checks inside libssh m4 checking to verify if
ssh_get_server_publickey is available. This new function scope replaces
the old ssh_get_publickey() from libssh 0.7.5 and below. Assuming that
some distros are not showing the right version of libssh. This is a
simple way to check which function is available.

Signed-off-by: Julio Faracco <jcfaracco@gmail.com>
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
m4/virt-libssh.m4