summaryrefslogtreecommitdiffstats
path: root/rules/grep.in
diff options
context:
space:
mode:
Diffstat (limited to 'rules/grep.in')
-rw-r--r--rules/grep.in16
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