Source
xxxxxxxxxx
# LIBSSH2_CHECK_CONFIG ([DEFAULT-ACTION])
# ----------------------------------------------------------
# Alexander Vladishev Oct-26-2009
# Dmitry Borovikov Feb-13-2010
# --version control added (1.0.0)
#
# Checks for ssh2. DEFAULT-ACTION is the string yes or no to
# specify whether to default to --with-ssh2 or --without-ssh2.
# If not supplied, DEFAULT-ACTION is no.
#
# The minimal supported SSH2 library version is 1.0.0.
#
# This macro #defines HAVE_SSH2 if a required header files are
# found, and sets @SSH2_LDFLAGS@, @SSH2_CFLAGS@ and @SSH2_LIBS@
# to the necessary values.