From 6be508dcc2097e1c659293b5a79b868c08da1711 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sun, 25 Apr 2010 23:06:41 +0200 Subject: [PATCH] configure: check for libssh2_init and libssh2_exit --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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