package/autossh: really fix the path to ssh

The ./configure script is not up-to-date with what is in configure.ac,
which prevents --with-ssh from working properly.

So, we autoreconfigure autossh, which fixes the issue.

Note however that this is not really an autotools package, since it only
uses autoconf and not automake. However, making it a generic pacakge is
not trivial, since autossh really wants config.h as generated by
./configure. Using the autotools infra in this case helps us easily
autoreconfiguring without to manual depend on all the autotools-relates
host packages.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Yann E. MORIN 2015-11-27 23:20:03 +01:00 committed by Thomas Petazzoni
parent 645750d1c8
commit 7311116e78

View file

@ -10,6 +10,9 @@ AUTOSSH_SOURCE = autossh-$(AUTOSSH_VERSION).tgz
AUTOSSH_LICENSE = Modified BSD
AUTOSSH_LICENSE_FILES = autossh.c
# Bundled ./configure is not up-to-date with what is in configure.ac
AUTOSSH_AUTORECONF = YES
AUTOSSH_CONF_OPTS = --with-ssh=/usr/bin/ssh
define AUTOSSH_INSTALL_TARGET_CMDS