mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Bernhard Walle <bernhard@bwalle.de>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH 2/3] libpcre: Add option to enable libbz2 for pcregrep
Date: Wed, 25 Jul 2012 21:41:21 +0200	[thread overview]
Message-ID: <1343245282-24448-2-git-send-email-bernhard@bwalle.de> (raw)
In-Reply-To: <1343245282-24448-1-git-send-email-bernhard@bwalle.de>

Signed-off-by: Bernhard Walle <bernhard@bwalle.de>
---
 rules/libpcre.in   |    4 ++++
 rules/libpcre.make |    1 +
 2 files changed, 5 insertions(+)

diff --git a/rules/libpcre.in b/rules/libpcre.in
index b6aab3c..491c65b 100644
--- a/rules/libpcre.in
+++ b/rules/libpcre.in
@@ -5,6 +5,7 @@ menuconfig LIBPCRE
 	prompt "libpcre                       "
 	select GCCLIBS_CXX	if LIBPCRE_LIBPCRECPP
 	select ZLIB		if LIBPCRE_ENABLE_PCREGREP_LIBZ
+	select BZIP2_LIBBZ2	if LIBPCRE_ENABLE_PCREGREP_LIBBZ2
 	help
 	  Perl 5 Compatible Regular Expression Library
 
@@ -20,6 +21,9 @@ config LIBPCRE_ENABLE_NEWLINE_IS_ANYCRLF
 config LIBPCRE_ENABLE_PCREGREP_LIBZ
        bool "Enable grep libz"
 
+config LIBPCRE_ENABLE_PCREGREP_LIBBZ2
+       bool "Enable grep libbz2"
+
 config LIBPCRE_ENABLE_UTF8
        bool "Enable UTF8"
 
diff --git a/rules/libpcre.make b/rules/libpcre.make
index 754654a..8148b0f 100644
--- a/rules/libpcre.make
+++ b/rules/libpcre.make
@@ -38,6 +38,7 @@ LIBPCRE_ENV 	:= $(CROSS_ENV)
 LIBPCRE_AUTOCONF := \
 	$(CROSS_AUTOCONF_USR) \
 	--$(call ptx/endis, PTXCONF_LIBPCRE_ENABLE_PCREGREP_LIBZ)-pcregrep-libz \
+	--$(call ptx/endis, PTXCONF_LIBPCRE_ENABLE_PCREGREP_LIBBZ2)-pcregrep-libbz2 \
 	--$(call ptx/endis, PTXCONF_LIBPCRE_ENABLE_UTF8)-utf8
 
 ifdef PTXCONF_LIBPCRE_ENABLE_NEWLINE_IS_ANYCRLF
-- 
1.7.9.5


-- 
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2012-07-25 19:41 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-25 19:41 [ptxdist] [PATCH 1/3] libpcre: version bump 8.00 -> 8.31 Bernhard Walle
2012-07-25 19:41 ` Bernhard Walle [this message]
2012-07-25 21:07   ` [ptxdist] [PATCH 2/3] libpcre: Add option to enable libbz2 for pcregrep Michael Olbrich
2012-07-26 19:47     ` [ptxdist] [PATCH 1/3] libpcre: version bump 8.00 -> 8.31 Bernhard Walle
2012-07-26 19:47       ` [ptxdist] [PATCH 2/3] libpcre: Add option to enable libbz2 for pcregrep Bernhard Walle
2012-07-26 19:47       ` [ptxdist] [PATCH 3/3] libpcre: Allow installation of pcregrep Bernhard Walle
2012-07-27 13:29       ` [ptxdist] [PATCH 1/3] libpcre: version bump 8.00 -> 8.31 Michael Olbrich
2012-07-25 19:41 ` [ptxdist] [PATCH 3/3] libpcre: Allow installation of pcregrep Bernhard Walle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1343245282-24448-2-git-send-email-bernhard@bwalle.de \
    --to=bernhard@bwalle.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox