Source
1631
1631
fi
1632
1632
SERVER_LDFLAGS="$SNMP_LDFLAGS $SERVER_LDFLAGS"
1633
1633
SERVER_LIBS="$SERVER_LIBS $SNMP_LIBS"
1634
1634
1635
1635
PROXY_LDFLAGS="$SNMP_LDFLAGS $PROXY_LDFLAGS"
1636
1636
PROXY_LIBS="$PROXY_LIBS $SNMP_LIBS"
1637
1637
1638
1638
1639
1639
AC_SUBST(SNMP_CFLAGS)
1640
1640
1641
-
dnl Check for LIBSSH2 [by default - skip] at least of version 1.0.0.
1642
-
LIBSSH2_CHECK_CONFIG([no])
1641
+
dnl Check for LIBSSH2 [by default - skip]
1642
+
LIBSSH2_CHECK_CONFIG([no],[1.8.0])
1643
1643
LIBSSH_CHECK_CONFIG([no])
1644
1644
if test "x$want_ssh2" = "xyes"; then
1645
1645
if test "x$want_ssh" != "xno"; then
1646
1646
AC_MSG_ERROR([You can configure for only one SSH library (--with-ssh or --with-ssh2).])
1647
1647
fi
1648
1648
1649
1649
if test "x$found_ssh2" != "xyes"; then
1650
1650
AC_MSG_ERROR([SSH2 library not found])
1651
1651
elif test "x$accept_ssh2_version" != "xyes"; then
1652
-
AC_MSG_ERROR([SSH2 library version requirement not met (>= 1.0.0)])
1652
+
AC_MSG_ERROR([SSH2 library version requirement not met (>= 1.8.0)])
1653
1653
else
1654
1654
have_ssh="yes (libssh2)"
1655
1655
fi
1656
1656
fi
1657
1657
SERVER_LDFLAGS="$SERVER_LDFLAGS $SSH2_LDFLAGS"
1658
1658
SERVER_LIBS="$SERVER_LIBS $SSH2_LIBS"
1659
1659
1660
1660
PROXY_LDFLAGS="$PROXY_LDFLAGS $SSH2_LDFLAGS"
1661
1661
PROXY_LIBS="$PROXY_LIBS $SSH2_LIBS"
1662
1662