Fix minor bug in configure script

Space in action branch breaks build on some platforms.
This commit is contained in:
Ondrej Zajicek (work) 2017-05-18 12:05:09 +02:00
parent 9b701e69cc
commit 271fa063a3

View file

@ -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], [], [fail=yes], [ ])
AC_CHECK_LIB([ssh], [ssh_connect], [], [fail=yes])
if test "$fail" != yes ; then
AC_DEFINE([HAVE_LIBSSH], [1], [Define to 1 if you have the `ssh' library (-lssh).])