summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 66e100df..9e375762 100644
--- a/configure.ac
+++ b/configure.ac
@@ -222,8 +222,8 @@ DAEMON_LIBS=
AC_SUBST(DAEMON_LIBS)
if test "$enable_libssh" != no ; then
- AC_CHECK_HEADER([libssh/libssh.h], [], [fail=yes], [ ])
- AC_CHECK_LIB([ssh], [ssh_connect], [], [fail=yes])
+ AC_CHECK_HEADER([libssh/libssh.h], [true], [fail=yes], [ ])
+ AC_CHECK_LIB([ssh], [ssh_connect], [true], [fail=yes])
if test "$fail" != yes ; then
AC_DEFINE([HAVE_LIBSSH], [1], [Define to 1 if you have the `ssh' library (-lssh).])