SHA1 options depend on SHA1
diff --git a/coreutils/Config.in b/coreutils/Config.in
index 91d9f09..e1618e7 100644
--- a/coreutils/Config.in
+++ b/coreutils/Config.in
@@ -370,6 +370,7 @@
 config CONFIG_FEATURE_SHA1SUM_CHECK
 	bool "  Enable -c and -w options"
 	default n
+	depends on CONFIG_FEATURE_SHA1SUM_CHECK
 	help
 	  Enabling the -c and -w options allow files to be checked
 	  against pre-calculated hash values.