diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2010-09-21 18:45:29 +1000 |
---|---|---|
committer | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2010-09-21 18:45:29 +1000 |
commit | ab18cfce12a269390cabf7cac2673060f0609c46 (patch) | |
tree | cfd78ed52532569e77c5c64a1a8069833d44decf | |
parent | 6be1edb416508b3fd008c523ed7eb16267aff1d8 (diff) | |
download | busybox-w32-ab18cfce12a269390cabf7cac2673060f0609c46.tar.gz busybox-w32-ab18cfce12a269390cabf7cac2673060f0609c46.tar.bz2 busybox-w32-ab18cfce12a269390cabf7cac2673060f0609c46.zip |
win32: enable sha* (needs WIN32_NET)
-rw-r--r-- | coreutils/Config.src | 3 | ||||
-rw-r--r-- | scripts/defconfig.mingw32 | 6 |
2 files changed, 6 insertions, 3 deletions
diff --git a/coreutils/Config.src b/coreutils/Config.src index 0eb70af55..adad4ba6d 100644 --- a/coreutils/Config.src +++ b/coreutils/Config.src | |||
@@ -512,18 +512,21 @@ config SEQ | |||
512 | config SHA1SUM | 512 | config SHA1SUM |
513 | bool "sha1sum" | 513 | bool "sha1sum" |
514 | default y | 514 | default y |
515 | depends on PLATFORM_POSIX || WIN32_NET | ||
515 | help | 516 | help |
516 | Compute and check SHA1 message digest | 517 | Compute and check SHA1 message digest |
517 | 518 | ||
518 | config SHA256SUM | 519 | config SHA256SUM |
519 | bool "sha256sum" | 520 | bool "sha256sum" |
520 | default y | 521 | default y |
522 | depends on PLATFORM_POSIX || WIN32_NET | ||
521 | help | 523 | help |
522 | Compute and check SHA256 message digest | 524 | Compute and check SHA256 message digest |
523 | 525 | ||
524 | config SHA512SUM | 526 | config SHA512SUM |
525 | bool "sha512sum" | 527 | bool "sha512sum" |
526 | default y | 528 | default y |
529 | depends on PLATFORM_POSIX || WIN32_NET | ||
527 | help | 530 | help |
528 | Compute and check SHA512 message digest | 531 | Compute and check SHA512 message digest |
529 | 532 | ||
diff --git a/scripts/defconfig.mingw32 b/scripts/defconfig.mingw32 index 5998731bf..754b9514b 100644 --- a/scripts/defconfig.mingw32 +++ b/scripts/defconfig.mingw32 | |||
@@ -251,9 +251,9 @@ CONFIG_RM=y | |||
251 | CONFIG_RMDIR=y | 251 | CONFIG_RMDIR=y |
252 | CONFIG_FEATURE_RMDIR_LONG_OPTIONS=y | 252 | CONFIG_FEATURE_RMDIR_LONG_OPTIONS=y |
253 | CONFIG_SEQ=y | 253 | CONFIG_SEQ=y |
254 | # CONFIG_SHA1SUM is not set | 254 | CONFIG_SHA1SUM=y |
255 | # CONFIG_SHA256SUM is not set | 255 | CONFIG_SHA256SUM=y |
256 | # CONFIG_SHA512SUM is not set | 256 | CONFIG_SHA512SUM=y |
257 | CONFIG_SLEEP=y | 257 | CONFIG_SLEEP=y |
258 | CONFIG_FEATURE_FANCY_SLEEP=y | 258 | CONFIG_FEATURE_FANCY_SLEEP=y |
259 | # CONFIG_FEATURE_FLOAT_SLEEP is not set | 259 | # CONFIG_FEATURE_FLOAT_SLEEP is not set |