From 4be3f800dccec67cc873c15f83aeda73c5b1a673 Mon Sep 17 00:00:00 2001 From: Vicente Olivert Riera Date: Thu, 11 May 2017 14:56:38 +0100 Subject: [PATCH] network-manager: add optional concheck support Signed-off-by: Vicente Olivert Riera Signed-off-by: Thomas Petazzoni --- package/network-manager/network-manager.mk | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/package/network-manager/network-manager.mk b/package/network-manager/network-manager.mk index 1d17ec4181..9f4cebe12b 100644 --- a/package/network-manager/network-manager.mk +++ b/package/network-manager/network-manager.mk @@ -30,8 +30,14 @@ NETWORK_MANAGER_CONF_OPTS = \ --with-crypto=gnutls \ --with-iptables=/usr/sbin/iptables \ --disable-ifupdown \ - --disable-ifnet \ - --disable-concheck + --disable-ifnet + +ifeq ($(BR2_PACKAGE_LIBCURL),y) +NETWORK_MANAGER_DEPENDENCIES += libcurl +NETWORK_MANAGER_CONF_OPTS += --enable-concheck +else +NETWORK_MANAGER_CONF_OPTS += --disable-concheck +endif ifeq ($(BR2_PACKAGE_NETWORK_MANAGER_TUI),y) NETWORK_MANAGER_DEPENDENCIES += newt -- 2.30.2