package/systemd: add --enable/disable-libcurl
authorGabe Evans <gabe@hashrabbit.co>
Thu, 25 Feb 2016 21:55:15 +0000 (21:55 +0000)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 29 Feb 2016 21:47:08 +0000 (22:47 +0100)
Signed-off-by: Gabe Evans <gabe@hashrabbit.co>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/systemd/Config.in
package/systemd/systemd.mk

index afa598b2ce4ef268d84e090535e2511ca2e78e32..ace385a08674d4d80fd3e2448869920721643bf8 100644 (file)
@@ -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.
 
index 91da61bbe13ca39289e7f33b6b8f49214dc73ae0..068156113de865da92221446649605dae7af5f39 100644 (file)
@@ -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 += \