From patchwork Wed Mar 16 19:38:28 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baruch Siach X-Patchwork-Id: 598613 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id 3qQMHJ0SqZz9sds for ; Thu, 17 Mar 2016 06:38:51 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 768D43385D; Wed, 16 Mar 2016 19:38:50 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2P-rjlYRfw9y; Wed, 16 Mar 2016 19:38:47 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 8D7A332258; Wed, 16 Mar 2016 19:38:47 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id F39171C15BF for ; Wed, 16 Mar 2016 19:38:46 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id EE7D6868B9 for ; Wed, 16 Mar 2016 19:38:46 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2HtFUjydWtlx for ; Wed, 16 Mar 2016 19:38:46 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mx.tkos.co.il (guitar.tcltek.co.il [192.115.133.116]) by whitealder.osuosl.org (Postfix) with ESMTPS id 0772D86876 for ; Wed, 16 Mar 2016 19:38:46 +0000 (UTC) Received: from tarshish.tkos.co.il (unknown [10.0.8.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by mx.tkos.co.il (Postfix) with ESMTPSA id F225F440C04; Wed, 16 Mar 2016 21:38:25 +0200 (IST) From: Baruch Siach To: buildroot@busybox.net Date: Wed, 16 Mar 2016 21:38:28 +0200 Message-Id: X-Mailer: git-send-email 2.7.0 Subject: [Buildroot] [PATCH] linknx: select libcurl to fix autoreconf X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" linknx configure.ac uses the LIBCURL_CHECK_CONFIG macro that is only defined in libcurl.m4 that is part of libcurl. Select libcurl for now to fix autoreconf. Fixes: http://autobuild.buildroot.net/results/96e/96e9ae0df7ebb7ad3d748a6b518cc59570e0b995/ http://autobuild.buildroot.net/results/179/17971c9f8925ff8623a7d97aac8eda0c287a76c9/ http://autobuild.buildroot.net/results/2a8/2a8af93d6439b313b048ccac7b6cfecbb6baff55/ Signed-off-by: Baruch Siach --- package/linknx/Config.in | 1 + package/linknx/linknx.mk | 13 ++++--------- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/package/linknx/Config.in b/package/linknx/Config.in index 36838fed6c0f..ca55c8bfb2f5 100644 --- a/package/linknx/Config.in +++ b/package/linknx/Config.in @@ -1,6 +1,7 @@ config BR2_PACKAGE_LINKNX bool "linknx" select BR2_PACKAGE_LIBPTHSEM + select BR2_PACKAGE_LIBCURL # for autoreconf select BR2_PACKAGE_ARGP_STANDALONE \ if BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_MUSL depends on BR2_INSTALL_LIBSTDCPP diff --git a/package/linknx/linknx.mk b/package/linknx/linknx.mk index 9d1f75e122aa..5dc8bb2d0839 100644 --- a/package/linknx/linknx.mk +++ b/package/linknx/linknx.mk @@ -15,9 +15,11 @@ LINKNX_CONF_OPTS = \ --without-log4cpp \ --without-pth-test \ --with-pth=$(STAGING_DIR)/usr \ - --disable-smtp + --disable-smtp \ + --with-libcurl=$(STAGING_DIR)/usr/bin/curl-config -LINKNX_DEPENDENCIES = libpthsem $(if $(BR2_PACKAGE_ARGP_STANDALONE),argp-standalone) +LINKNX_DEPENDENCIES = libpthsem libcurl \ + $(if $(BR2_PACKAGE_ARGP_STANDALONE),argp-standalone) # This is needed to make autoreconf happy define LINKNX_CREATE_MISSING_FILES @@ -32,11 +34,4 @@ else LINKNX_CONF_OPTS += --without-mysql endif -ifeq ($(BR2_PACKAGE_LIBCURL),y) -LINKNX_CONF_OPTS += --with-libcurl=$(STAGING_DIR)/usr/bin/curl-config -LINKNX_DEPENDENCIES += libcurl -else -LINKNX_CONF_OPTS += --without-libcurl -endif - $(eval $(autotools-package))