socat: add optional openssl and readline support

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Gustavo Zacarias 2014-03-10 16:34:06 -03:00 committed by Peter Korsgaard
parent 442f13779e
commit df2b2104f4

View File

@ -21,6 +21,18 @@ SOCAT_CONF_ENV = sc_cv_termios_ispeed=no \
SOCAT_DEPENDENCIES = host-autoconf
ifeq ($(BR2_PACKAGE_OPENSSL),y)
SOCAT_DEPENDENCIES += openssl
else
SOCAT_CONF_OPT += --disable-openssl
endif
ifeq ($(BR2_PACKAGE_READLINE),y)
SOCAT_DEPENDENCIES += readline
else
SOCAT_CONF_OPT += --disable-readline
endif
define SOCAT_RUN_AUTOCONF
(cd $(@D); $(HOST_DIR)/usr/bin/autoconf)
endef