summaryrefslogtreecommitdiff
path: root/findutils/Config.in
diff options
context:
space:
mode:
authorDenis Vlasenko2007-06-15 23:43:11 +0000
committerDenis Vlasenko2007-06-15 23:43:11 +0000
commitb941129ccb7901b0715c6affa9d0347f6fa5e64d (patch)
treef109a72dc2d958ae0ab35031da39b176e87009a5 /findutils/Config.in
parentd786cc59662c52c268c1f074546e0705facf3475 (diff)
downloadbusybox-b941129ccb7901b0715c6affa9d0347f6fa5e64d.zip
busybox-b941129ccb7901b0715c6affa9d0347f6fa5e64d.tar.gz
find: add conditional support for -maxdepth and -regex
(needed for Linux 2.6.22-rc4 build) -maxdepth: # size busybox_old busybox_unstripped text data bss dec hex filename 675622 2792 15728 694142 a977e busybox_old 675770 2792 15728 694290 a9812 busybox_unstripped -regex: # size busybox_old busybox_unstripped text data bss dec hex filename 675770 2792 15728 694290 a9812 busybox_old 675894 2792 15728 694414 a988e busybox_unstripped
Diffstat (limited to 'findutils/Config.in')
-rw-r--r--findutils/Config.in19
1 files changed, 16 insertions, 3 deletions
diff --git a/findutils/Config.in b/findutils/Config.in
index a32e989..bcdc024 100644
--- a/findutils/Config.in
+++ b/findutils/Config.in
@@ -57,8 +57,14 @@ config FEATURE_FIND_XDEV
default y
depends on FIND
help
- This option will allow find to restrict searches to a single
- filesystem.
+ This option allows find to restrict searches to a single filesystem.
+
+config FEATURE_FIND_MAXDEPTH
+ bool "Enable -maxdepth N option"
+ default y
+ depends on FIND
+ help
+ This option enables -maxdepth N option.
config FEATURE_FIND_NEWER
bool "Enable -newer option for comparing file mtimes"
@@ -149,7 +155,14 @@ config FEATURE_FIND_PATH
default y
depends on FIND
help
- The -path option matches whole pathnames instead of just filenames.
+ The -path option matches whole pathname instead of just filename.
+
+config FEATURE_FIND_REGEX
+ bool "Enable -regex: match pathname to regex"
+ default y
+ depends on FIND
+ help
+ The -regex option matches whole pathname against regular expression.
config GREP
bool "grep"