Added SSHD_BIN in configure.ac

This commit is contained in:
Olof hagsand 2023-11-28 17:02:13 +01:00
parent b9ed302de1
commit 81b4fdb274
5 changed files with 64 additions and 5 deletions

View file

@ -151,9 +151,13 @@ if test "$LEX" = ":"; then
AC_MSG_ERROR(CLIXON does not find lex or flex.)
fi
# SSH binary path
# SSH binary path for client and test
AC_PATH_PROG(SSH_BIN, ssh)
AC_DEFINE_UNQUOTED(SSH_BIN, "$SSH_BIN", [SSH binary])
AC_DEFINE_UNQUOTED(SSH_BIN, "${SSH_BIN}", [SSH binary])
# SSHD binary path for test
AC_PATH_PROG(SSHD_BIN, sshd)
AC_DEFINE_UNQUOTED(SSHD_BIN, "${SSHD_BIN}", [SSHD binary])
# For cli pipe output functions
AC_PROG_GREP