Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v2 1/2] pcre: add options to enable UTF and UCP support
@ 2013-11-22 21:58 Sven Neumann
  2013-11-22 22:32 ` Peter Korsgaard
  0 siblings, 1 reply; 2+ messages in thread
From: Sven Neumann @ 2013-11-22 21:58 UTC (permalink / raw)
  To: buildroot


Allow to compile PCRE with UTF-8/16/32 support and with
support for Unicode properties.

Signed-off-by: Sven Neumann <neumann@teufel.de>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
 package/pcre/Config.in | 12 ++++++++++++
 package/pcre/pcre.mk   |  2 ++
 2 files changed, 14 insertions(+)

diff --git a/package/pcre/Config.in b/package/pcre/Config.in
index dc92274..725cc21 100644
--- a/package/pcre/Config.in
+++ b/package/pcre/Config.in
@@ -19,4 +19,16 @@ config BR2_PACKAGE_PCRE_32
 	help
 	  This option builds the 32-bits pcre library, i.e 'libpcre32'
 
+config BR2_PACKAGE_PCRE_UTF
+	bool "UTF-8/16/32 support in pcre"
+	help
+	  This option builds the pcre library with UTF-8/16/32 support
+
+config BR2_PACKAGE_PCRE_UCP
+	bool "Unicode properties support in pcre"
+        select BR2_PACKAGE_PCRE_UTF
+	help
+	  This option builds the pcre library with Unicode properties
+	  support (implies UTF-8/16/32 support)'
+
 endif
diff --git a/package/pcre/pcre.mk b/package/pcre/pcre.mk
index bf86a3d..2637354 100644
--- a/package/pcre/pcre.mk
+++ b/package/pcre/pcre.mk
@@ -19,5 +19,7 @@ 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-utf,--disable-utf)
+PCRE_CONF_OPT += $(if $(BR2_PACKAGE_PCRE_UCP),--enable-unicode-properties,--disable-unicode-properties)
 
 $(eval $(autotools-package))
-- 
1.8.4.2

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH v2 1/2] pcre: add options to enable UTF and UCP support
  2013-11-22 21:58 [Buildroot] [PATCH v2 1/2] pcre: add options to enable UTF and UCP support Sven Neumann
@ 2013-11-22 22:32 ` Peter Korsgaard
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2013-11-22 22:32 UTC (permalink / raw)
  To: buildroot

>>>>> "Sven" == Sven Neumann <neumann@teufel.de> writes:

 > Allow to compile PCRE with UTF-8/16/32 support and with
 > support for Unicode properties.

 > Signed-off-by: Sven Neumann <neumann@teufel.de>
 > Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
 > ---
 >  package/pcre/Config.in | 12 ++++++++++++
 >  package/pcre/pcre.mk   |  2 ++
 >  2 files changed, 14 insertions(+)

 > diff --git a/package/pcre/Config.in b/package/pcre/Config.in
 > index dc92274..725cc21 100644
 > --- a/package/pcre/Config.in
 > +++ b/package/pcre/Config.in
 > @@ -19,4 +19,16 @@ config BR2_PACKAGE_PCRE_32
 >  	help
 >  	  This option builds the 32-bits pcre library, i.e 'libpcre32'
 
 > +config BR2_PACKAGE_PCRE_UTF
 > +	bool "UTF-8/16/32 support in pcre"
 > +	help
 > +	  This option builds the pcre library with UTF-8/16/32 support
 > +
 > +config BR2_PACKAGE_PCRE_UCP
 > +	bool "Unicode properties support in pcre"
 > +        select BR2_PACKAGE_PCRE_UTF

Indentation for the select line is wrong.

Committed to next with that fixed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-11-22 22:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-22 21:58 [Buildroot] [PATCH v2 1/2] pcre: add options to enable UTF and UCP support Sven Neumann
2013-11-22 22:32 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox