aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2010-04-25 23:06:41 +0200
committerDaniel Stenberg <daniel@haxx.se>2010-04-25 23:06:41 +0200
commit6be508dcc2097e1c659293b5a79b868c08da1711 (patch)
treee38d0349b0c1cafec9179df3f430b158b2084b3a
parent82e9b78a388ab539c8784cd853adf6e4a97d52c5 (diff)
configure: check for libssh2_init and libssh2_exit
-rw-r--r--configure.ac3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 5dfa83ef4..e18227b78 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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