From patchwork Fri Oct 25 10:28:17 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yegor Yefremov X-Patchwork-Id: 286120 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id 340132C0146 for ; Fri, 25 Oct 2013 21:28:47 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 9821986958; Fri, 25 Oct 2013 10:28:45 +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 QC3wgpBnvn5c; Fri, 25 Oct 2013 10:28:44 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 90FAD85B1B; Fri, 25 Oct 2013 10:28:44 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id EC4211BF9FF for ; Fri, 25 Oct 2013 10:28:42 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id E8487859FE for ; Fri, 25 Oct 2013 10:28:42 +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 sVnuyQTPNJMB for ; Fri, 25 Oct 2013 10:28:42 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail.visionsystems.de (ns.vscom.de [62.145.30.242]) by whitealder.osuosl.org (Postfix) with ESMTP id EF4F5856B0 for ; Fri, 25 Oct 2013 10:28:41 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.visionsystems.de (Postfix) with ESMTP id 1A3492D34E6; Fri, 25 Oct 2013 12:28:44 +0200 (CEST) Received: from mail.visionsystems.de ([127.0.0.1]) by localhost (mail.visionsystems.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 26453-10; Fri, 25 Oct 2013 12:28:30 +0200 (CEST) Received: from visionsystems.de (kallisto.visionsystems.local [192.168.1.3]) by mail.visionsystems.de (Postfix) with ESMTP id 342FA2D34DD; Fri, 25 Oct 2013 12:28:30 +0200 (CEST) Received: from development1.visionsystems.local ([192.168.1.36]) by visionsystems.de with Microsoft SMTPSVC(6.0.3790.4675); Fri, 25 Oct 2013 12:28:29 +0200 From: yegorslists@googlemail.com To: buildroot@busybox.net Date: Fri, 25 Oct 2013 12:28:17 +0200 Message-Id: <1382696898-1901-1-git-send-email-yegorslists@googlemail.com> X-Mailer: git-send-email 1.7.7 X-OriginalArrivalTime: 25 Oct 2013 10:28:29.0886 (UTC) FILETIME=[F2B3B5E0:01CED16C] X-Virus-Scanned: amavisd-new at visionsystems.de Cc: shawn7400@gmail.com Subject: [Buildroot] [PATCH v2 1/2] pcre: add UTF support option X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 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-bounces@busybox.net From: Yegor Yefremov Add BR2_PACKAGE_PCRE_UTF option, that activates --enable-unicode-properties for UTF-8/16/32. Signed-off-by: Yegor Yefremov --- package/pcre/Config.in | 5 +++++ package/pcre/pcre.mk | 1 + 2 files changed, 6 insertions(+), 0 deletions(-) diff --git a/package/pcre/Config.in b/package/pcre/Config.in index dc92274..3ca27c0 100644 --- a/package/pcre/Config.in +++ b/package/pcre/Config.in @@ -19,4 +19,9 @@ config BR2_PACKAGE_PCRE_32 help This option builds the 32-bits pcre library, i.e 'libpcre32' +config BR2_PACKAGE_PCRE_UTF + bool "UTF support" + help + This option enables UTF support + endif diff --git a/package/pcre/pcre.mk b/package/pcre/pcre.mk index bf86a3d..0d1d66b 100644 --- a/package/pcre/pcre.mk +++ b/package/pcre/pcre.mk @@ -19,5 +19,6 @@ endif PCRE_CONF_OPT += --enable-pcre8 PCRE_CONF_OPT += $(if $(BR2_PACKAGE_PCRE_16),--enable-pcre16,--disable-pcre16) PCRE_CONF_OPT += $(if $(BR2_PACKAGE_PCRE_32),--enable-pcre32,--disable-pcre32) +PCRE_CONF_OPT += $(if $(BR2_PACKAGE_PCRE_UTF),--enable-unicode-properties,--disable-unicode-properties) $(eval $(autotools-package))