aboutsummaryrefslogtreecommitdiff
path: root/coreutils/Config.in
diff options
context:
space:
mode:
authorGlenn L McGrath <bug1@ihug.co.nz>2003-11-10 04:33:55 +0000
committerGlenn L McGrath <bug1@ihug.co.nz>2003-11-10 04:33:55 +0000
commitd2a897aab084b433231aab5f6908a79cba67dc5d (patch)
tree8a0b113bd44bc2be639e070b50668e4ad69091f2 /coreutils/Config.in
parent0bdf41ad7e81451bc829365e0d9a676dda8145f9 (diff)
downloadbusybox-d2a897aab084b433231aab5f6908a79cba67dc5d.tar.gz
Merge common parts of sha1sum and md5sum, which is everything except the
algorithms. Move algorithms to hash_fd and make them available via a common function.
Diffstat (limited to 'coreutils/Config.in')
-rw-r--r--coreutils/Config.in19
1 files changed, 11 insertions, 8 deletions
diff --git a/coreutils/Config.in b/coreutils/Config.in
index 90f681c04..a388cd9e8 100644
--- a/coreutils/Config.in
+++ b/coreutils/Config.in
@@ -373,14 +373,6 @@ config CONFIG_SHA1SUM
help
Compute and check SHA1 message digest
-config CONFIG_FEATURE_SHA1SUM_CHECK
- bool " Enable -c and -w options"
- default n
- depends on CONFIG_SHA1SUM
- help
- Enabling the -c and -w options allows files to be checked
- against pre-calculated hash values.
-
config CONFIG_SLEEP
bool "sleep (single integer arg with no suffix)"
default n
@@ -591,4 +583,15 @@ config CONFIG_FEATURE_HUMAN_READABLE
help
Allow df, du, and ls to have human readable output.
+comment "Common options for md5sum, sha1sum"
+ depends on CONFIG_MD5SUM || CONFIG_SHA1SUM
+
+config CONFIG_FEATURE_MD5_SHA1_SUM_CHECK
+ bool " Enable -c and -w options"
+ default n
+ depends on CONFIG_MD5SUM || CONFIG_SHA1SUM
+ help
+ Enabling the -c and -w options allows files to be checked
+ against pre-calculated hash values.
+
endmenu