aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-07-30 19:33:00 +0000
committerEric Andersen <andersen@codepoet.org>2001-07-30 19:33:00 +0000
commitdc6647201da6d5cf044f4b54fe9826c89068b782 (patch)
treebdeff167d0bc566bf0b7002854a3a7ec9eab3a98
parentc126f8ffb6143f1455bea63dad21b2832ddb8b3c (diff)
downloadbusybox-dc6647201da6d5cf044f4b54fe9826c89068b782.tar.gz
Simplify/clarify the shell dependant bit of Config.h
-rw-r--r--Config.h17
1 files changed, 5 insertions, 12 deletions
diff --git a/Config.h b/Config.h
index da62cbfda..f753401de 100644
--- a/Config.h
+++ b/Config.h
@@ -446,22 +446,15 @@
#if ! defined BB_FEATURE_LASH && ! defined BB_FEATURE_HUSH && ! defined BB_FEATURE_MSH && ! defined BB_FEATURE_ASH
#define BB_FEATURE_MSH
#endif
- #if defined BB_FEATURE_ASH && (defined BB_FEATURE_LASH || defined BB_FEATURE_HUSH || defined BB_FEATURE_MSH)
- #undef BB_FEATURE_LASH
- #undef BB_FEATURE_HUSH
+ #if defined BB_FEATURE_ASH
#undef BB_FEATURE_MSH
- #elif defined BB_FEATURE_MSH && (defined BB_FEATURE_LASH || defined BB_FEATURE_HUSH || defined BB_FEATURE_MSH)
- #undef BB_FEATURE_LASH
#undef BB_FEATURE_HUSH
- #undef BB_FEATURE_ASH
- #elif defined BB_FEATURE_HUSH && (defined BB_FEATURE_LASH || defined BB_FEATURE_HUSH || defined BB_FEATURE_MSH)
#undef BB_FEATURE_LASH
- #undef BB_FEATURE_MSH
- #undef BB_FEATURE_ASH
- #elif defined BB_FEATURE_LASH && (defined BB_FEATURE_LASH || defined BB_FEATURE_HUSH || defined BB_FEATURE_MSH)
+ #elif defined BB_FEATURE_MSH
#undef BB_FEATURE_HUSH
- #undef BB_FEATURE_MSH
- #undef BB_FEATURE_ASH
+ #undef BB_FEATURE_LASH
+ #elif defined BB_FEATURE_HUSH
+ #undef BB_FEATURE_LASH
#endif
#else
#undef BB_FEATURE_SH_APPLETS_ALWAYS_WIN