diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-08-02 08:48:03 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-08-02 08:48:03 +0000 |
commit | 46bf7de5f69aa1875ac7cb725cda005f437b2c87 (patch) | |
tree | 0f4426a59feb0282f04b5c809808bb0ff60a3ab7 /applets.h | |
parent | ff9b4a8981c4af9c6107ae4193c782ae3c94a23b (diff) | |
download | busybox-46bf7de5f69aa1875ac7cb725cda005f437b2c87.tar.gz |
Ok, if no shell is enabled, don't include any of the SH_IS_<name>
options or the build will fail
-Erik
Diffstat (limited to 'applets.h')
-rw-r--r-- | applets.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -356,13 +356,13 @@ #ifdef BB_SETKEYCODES APPLET(setkeycodes, setkeycodes_main, _BB_DIR_USR_BIN) #endif -#ifdef BB_FEATURE_SH_IS_ASH +#if defined(BB_FEATURE_SH_IS_ASH) && defined(BB_ASH) APPLET_NOUSAGE("sh", ash_main, _BB_DIR_BIN) -#elif defined(BB_FEATURE_SH_IS_HUSH) +#elif defined(BB_FEATURE_SH_IS_HUSH) && defined(BB_HUSH) APPLET_NOUSAGE("sh", hush_main, _BB_DIR_BIN) -#elif defined(BB_FEATURE_SH_IS_LASH) +#elif defined(BB_FEATURE_SH_IS_LASH) && defined(BB_LASH) APPLET_NOUSAGE("sh", lash_main, _BB_DIR_BIN) -#elif defined(BB_FEATURE_SH_IS_MSH) +#elif defined(BB_FEATURE_SH_IS_MSH) && defined(BB_MSH) APPLET_NOUSAGE("sh", msh_main, _BB_DIR_BIN) #endif #ifdef BB_SLEEP |