diff options
author | Glenn L McGrath | 2004-01-03 12:07:32 +0000 |
---|---|---|
committer | Glenn L McGrath | 2004-01-03 12:07:32 +0000 |
commit | 3b251857334fc3b7ae075905908d67a08885da76 (patch) | |
tree | 515879419d105152819dde4b8f52afd78ce4d11b /shell/cmdedit.c | |
parent | ffa28d1b468a9318affcbdc27277f43d10b00f24 (diff) | |
download | busybox-3b251857334fc3b7ae075905908d67a08885da76.zip busybox-3b251857334fc3b7ae075905908d67a08885da76.tar.gz |
Declare dependencies of command line editing in the build system
Diffstat (limited to 'shell/cmdedit.c')
-rw-r--r-- | shell/cmdedit.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/shell/cmdedit.c b/shell/cmdedit.c index a78642b..884489b 100644 --- a/shell/cmdedit.c +++ b/shell/cmdedit.c @@ -49,11 +49,7 @@ #define Isprint(c) ( (c) >= ' ' && (c) != ((unsigned char)'\233') ) #endif -#ifndef TEST - -#define D(x) - -#else +#ifdef TEST /* pretect redefined for test */ #undef CONFIG_FEATURE_COMMAND_EDITING @@ -68,8 +64,6 @@ #define CONFIG_FEATURE_NONPRINTABLE_INVERSE_PUT #define CONFIG_FEATURE_CLEAN_UP -#define D(x) x - #endif /* TEST */ #ifdef CONFIG_FEATURE_COMMAND_TAB_COMPLETION @@ -79,10 +73,6 @@ #ifdef CONFIG_FEATURE_COMMAND_EDITING -#ifndef CONFIG_FEATURE_COMMAND_TAB_COMPLETION -#undef CONFIG_FEATURE_COMMAND_USERNAME_COMPLETION -#endif - #if defined(CONFIG_FEATURE_COMMAND_USERNAME_COMPLETION) || defined(CONFIG_FEATURE_SH_FANCY_PROMPT) #define CONFIG_FEATURE_GETUSERNAME_AND_HOMEDIR #endif |