diff options
author | Robert Schwebel <r.schwebel@pengutronix.de> | 2009-01-19 22:16:22 +0000 |
---|---|---|
committer | Robert Schwebel <r.schwebel@pengutronix.de> | 2009-01-19 22:16:22 +0000 |
commit | b6758a6e23b819ceccecbd962cc2ffa846afba16 (patch) | |
tree | 9ca80491043b8bd16f67d0cd6903c8aad7f3f7ea /rules/grep.in | |
parent | 25de134d52eb996c57e8ebe592cde0683bce9088 (diff) | |
download | ptxdist-b6758a6e23b819ceccecbd962cc2ffa846afba16.tar.gz ptxdist-b6758a6e23b819ceccecbd962cc2ffa846afba16.tar.xz |
* grep: add switch for libpcre, in order to get a well defined
build.
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@9592 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/grep.in')
-rw-r--r-- | rules/grep.in | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/rules/grep.in b/rules/grep.in index ae738b3b1..afe426d1c 100644 --- a/rules/grep.in +++ b/rules/grep.in @@ -2,12 +2,22 @@ comment "BusyBox' grep is selected!" depends on BUSYBOX_GREP -config GREP +menuconfig GREP tristate depends on !BUSYBOX_GREP || ALLYES - select LIBPCRE - prompt "grep" + select LIBPCRE if GREP_PCRE + prompt "grep " help GNUgrep searches one or more input files for lines containing a match to a specified pattern. By default, grep prints the matching lines. + +if GREP + +config GREP_PCRE + bool + prompt "pcre support" + help + Enable support for perl compatible regular expressions. + +endif |