Skip to content

Commit

Permalink
configure.ac: Add a check for libssh 0.11
Browse files Browse the repository at this point in the history
  • Loading branch information
artyom-poptsov committed Nov 1, 2024
1 parent c924059 commit 1c01f8f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,13 @@ PKG_CHECK_MODULES([LIBSSH_0_10],

AM_CONDITIONAL(HAVE_LIBSSH_0_10, $HAVE_LIBSSH_0_10)

PKG_CHECK_MODULES([LIBSSH_0_11],
[libssh >= 0.11.0],
[AC_DEFINE(HAVE_LIBSSH_0_11, 1, [Use libssh 0.11])],
[AC_DEFINE(HAVE_LIBSSH_0_11, 0, [Use libssh < 0.11])])

AM_CONDITIONAL(HAVE_LIBSSH_0_11, $HAVE_LIBSSH_0_11)

# -------------------------------------------------------------------------------

dnl These macros must be provided by guile.m4.
Expand Down

0 comments on commit 1c01f8f

Please sign in to comment.