mirror of
https://github.com/curl/curl.git
synced 2025-01-18 14:04:30 +08:00
configure: check for libssh2_init and libssh2_exit
This commit is contained in:
parent
82e9b78a38
commit
6be508dcc2
@ -1889,7 +1889,8 @@ if test X"$OPT_LIBSSH2" != Xno; then
|
||||
dnl to prevent further configure tests to fail due to this
|
||||
|
||||
dnl libssh2_version is a post 1.0 addition
|
||||
AC_CHECK_FUNCS( libssh2_version )
|
||||
dnl libssh2_init and libssh2_exit were added in 1.2.5
|
||||
AC_CHECK_FUNCS( libssh2_version libssh2_init libssh2_exit)
|
||||
|
||||
LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$DIR_SSH2"
|
||||
export LD_LIBRARY_PATH
|
||||
|
Loading…
Reference in New Issue
Block a user