From patchwork Sun Mar 1 10:07:41 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bernd Kuhls X-Patchwork-Id: 444715 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id D27F914018C for ; Sun, 1 Mar 2015 21:08:04 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id BBBAEA2C02; Sun, 1 Mar 2015 10:08:02 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id skwU9pVI8-Me; Sun, 1 Mar 2015 10:08:01 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 9C1EDA2BD7; Sun, 1 Mar 2015 10:07:58 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id EB0EE1C21ED for ; Sun, 1 Mar 2015 10:07:52 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id E672795029 for ; Sun, 1 Mar 2015 10:07:52 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6XCCmtqbIgsU for ; Sun, 1 Mar 2015 10:07:52 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mailout05.t-online.de (mailout05.t-online.de [194.25.134.82]) by hemlock.osuosl.org (Postfix) with ESMTPS id 268AB94FC8 for ; Sun, 1 Mar 2015 10:07:52 +0000 (UTC) Received: from fwd08.aul.t-online.de (fwd08.aul.t-online.de [172.20.26.151]) by mailout05.t-online.de (Postfix) with SMTP id 37964E4B6B for ; Sun, 1 Mar 2015 11:07:50 +0100 (CET) Received: from fli4l.lan.fli4l (Tb4O8uZeYhHJCdm+7l56Y7wKC6XWvV+MpavU7xrU-mX2lGha+pWFMzOF-LF21wGQcp@[79.247.185.123]) by fwd08.t-online.de with (TLSv1:ECDHE-RSA-AES256-SHA encrypted) esmtp id 1YS0mp-1Ug1y40; Sun, 1 Mar 2015 11:07:47 +0100 Received: from fli4lbuild64.lan.fli4l ([192.168.1.51]:59142) by fli4l.lan.fli4l with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.85) (envelope-from ) id 1YS0mo-0008Vq-1D; Sun, 01 Mar 2015 11:07:46 +0100 From: Bernd Kuhls To: buildroot@buildroot.org Date: Sun, 1 Mar 2015 11:07:41 +0100 Message-Id: <1425204461-27877-4-git-send-email-bernd.kuhls@t-online.de> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1425204461-27877-1-git-send-email-bernd.kuhls@t-online.de> References: <1425204461-27877-1-git-send-email-bernd.kuhls@t-online.de> X-ID: Tb4O8uZeYhHJCdm+7l56Y7wKC6XWvV+MpavU7xrU-mX2lGha+pWFMzOF-LF21wGQcp X-TOI-MSGID: 22990959-eb0f-4f21-af9f-7c46b1db9e29 Cc: Bernd Kuhls Subject: [Buildroot] [PATCH next v2 4/4] package/apr-util: add support for unixodbc 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" Signed-off-by: Bernd Kuhls --- v2: first inclusion in patch series, unix odbc detection works without odbc_config package/apr-util/apr-util.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/apr-util/apr-util.mk b/package/apr-util/apr-util.mk index 3b0a71b..07ac573 100644 --- a/package/apr-util/apr-util.mk +++ b/package/apr-util/apr-util.mk @@ -53,4 +53,11 @@ else APR_UTIL_CONF_OPTS += --without-crypto endif +ifeq ($(BR2_PACKAGE_UNIXODBC),y) +APR_UTIL_CONF_OPTS += --with-odbc="$(STAGING_DIR)/usr" +APR_UTIL_DEPENDENCIES += unixodbc +else +APR_UTIL_CONF_OPTS += --without-odbc +endif + $(eval $(autotools-package))