package/log4cxx: add libesmtp optional dependency

libesmtp is an optional dependency (disabled by default) since version
0.10.0 and
8a35b429c6

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
Fabrice Fontaine 2021-08-21 12:44:03 +02:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent a3e3d9c198
commit 2ff7035394

View file

@ -22,4 +22,11 @@ LOG4CXX_CONF_OPTS = \
LOG4CXX_DEPENDENCIES = apr apr-util
ifeq ($(BR2_PACKAGE_LIBESMTP),y)
LOG4CXX_DEPENDENCIES += libesmtp
LOG4CXX_CONF_OPTS += --with-SMTP=libesmtp
else
LOG4CXX_CONF_OPTS += --without-SMTP
endif
$(eval $(autotools-package))