diff options
-rw-r--r-- | configure.ac | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index d54e399..ea2426a 100644 --- a/configure.ac +++ b/configure.ac @@ -83,7 +83,9 @@ AS_IF([test "x${libssh_require_libz}" = xyes], AC_CHECK_LIB([z], [inflate], [], [AC_MSG_ERROR([libz not found])]) ]) -AC_MSG_CHECKING([if libssh link works]) + +AC_CHECK_LIB([ssh], [ssh_init], [], [AC_MSG_ERROR([final link against libssh failed])]) +AC_CHECK_LIB([seccomp], [seccomp_init], [], [AC_MSG_ERROR([final link against libseccomp failed])]) dnl libseccomp-dev |