From 1661d6678187e92e4ce13d6de03ba24ae0cbba1d Mon Sep 17 00:00:00 2001 From: Gabe Evans Date: Thu, 25 Feb 2016 21:55:15 +0000 Subject: [PATCH] package/systemd: add --enable/disable-libcurl Signed-off-by: Gabe Evans Reviewed-by: Arnout Vandecappelle (Essensium/Mind) Signed-off-by: Thomas Petazzoni --- package/systemd/Config.in | 1 + package/systemd/systemd.mk | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/package/systemd/Config.in b/package/systemd/Config.in index afa598b2ce..ace385a086 100644 --- a/package/systemd/Config.in +++ b/package/systemd/Config.in @@ -58,6 +58,7 @@ config BR2_PACKAGE_SYSTEMD - acl package will add support for multi-seat. - xz and/or l4 packages will add compression support in journal and coredump. + - libcurl package will add support for systemd-journal-upload. - libgcrypt package will add support for journal sealing and DNSSEC verification in resolved. diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk index 91da61bbe1..068156113d 100644 --- a/package/systemd/systemd.mk +++ b/package/systemd/systemd.mk @@ -108,6 +108,13 @@ else SYSTEMD_CONF_OPTS += --disable-zlib endif +ifeq ($(BR2_PACKAGE_LIBCURL),y) +SYSTEMD_DEPENDENCIES += libcurl +SYSTEMD_CONF_OPTS += --enable-libcurl +else +SYSTEMD_CONF_OPTS += --disable-libcurl +endif + ifeq ($(BR2_PACKAGE_LIBGCRYPT),y) SYSTEMD_DEPENDENCIES += libgcrypt SYSTEMD_CONF_OPTS += \ -- 2.30.2