#define BB_CHROOT
//#define BB_CHVT /* not needed */
#define BB_CLEAR
-#define BB_CP_MV
+#define BB_CP
#define BB_CUT
#define BB_DATE
#define BB_DC
#define BB_MORE
//#define BB_MOUNT /* different implementation */
#define BB_MT
+#define BB_MV
#define BB_NSLOOKUP
//#define BB_PING /* doesnt compile, Hurd uses BSD style ip.h */
//#define BB_POWEROFF /* different implementation i assume */
// at the same time...
#define BB_FEATURE_USE_PROCFS
//
-// This compiles out everything but the most
-// trivial --help usage information (i.e. reduces binary size)
-//#define BB_FEATURE_TRIVIAL_HELP
+// show verbose usage messages
+#define BB_FEATURE_VERBOSE_USAGE
//
// Use termios to manipulate the screen ('more' is prettier with this on)
#define BB_FEATURE_USE_TERMIOS
// Nothing beyond this point should ever be touched by
// mere mortals so leave this stuff alone.
//
-#ifdef BB_FEATURE_MOUNT_MTAB_SUPPORT
-#define BB_MTAB
-#endif
-//
-#if defined BB_FEATURE_SH_COMMAND_EDITING && defined BB_SH
-#define BB_CMDEDIT
+#if defined BB_MOUNT || defined BB_UMOUNT || defined BB_DF
+ #ifdef BB_FEATURE_MOUNT_MTAB_SUPPORT
+ #define BB_MTAB
+ #endif
+#else
+ #undef BB_MTAB
+#endif
+//
+#if defined BB_SH
+ #if defined BB_FEATURE_COMMAND_EDITING
+ #define BB_CMDEDIT
+ #ifndef BB_FEATURE_USE_TERMIOS
+ #define BB_FEATURE_USE_TERMIOS
+ #endif
+ #else
+ #undef BB_FEATURE_COMMAND_EDITING
+ #undef BB_FEATURE_COMMAND_TAB_COMPLETION
+ #undef BB_FEATURE_COMMAND_USERNAME_COMPLETION
+ #define BB_FEATURE_SH_SIMPLE_PROMPT
+ #endif
+#else
+ #undef BB_FEATURE_COMMAND_EDITING
+ #undef BB_FEATURE_SH_APPLETS_ALWAYS_WIN
+ #undef BB_FEATURE_SH_STANDALONE_SHELL
+ #undef BB_FEATURE_SH_SIMPLE_PROMPT
#endif
//
#ifdef BB_KILLALL
-#ifndef BB_KILL
-#define BB_KILL
-#endif
+ #ifndef BB_KILL
+ #define BB_KILL
+ #endif
#endif
//
-#ifdef BB_FEATURE_LINUXRC
#ifndef BB_INIT
-#define BB_INIT
-#endif
-#define BB_LINUXRC
+ #undef BB_FEATURE_LINUXRC
#endif
//
#ifdef BB_GZIP
-#ifndef BB_GUNZIP
-#define BB_GUNZIP
+ #ifndef BB_GUNZIP
+ #define BB_GUNZIP
+ #endif
#endif
+//
+#ifdef BB_DPKG
+ #ifndef BB_DPKG_DEB
+ #define BB_DPKG_DEB
+ #endif
#endif
//
-#if defined BB_MOUNT && defined BB_FEATURE_NFSMOUNT
-#define BB_NFSMOUNT
+#ifdef BB_DPKG_DEB
+ #ifndef BB_AR
+ #define BB_AR
+ #endif
+ #ifndef BB_TAR
+ #define BB_TAR
+ #endif
+ #ifndef BB_FEATURE_TAR_GZIP
+ #define BB_FEATURE_TAR_GZIP
+ #endif
#endif
//
-#if defined BB_FEATURE_SH_COMMAND_EDITING
-#ifndef BB_FEATURE_USE_TERMIOS
-#define BB_FEATURE_USE_TERMIOS
+#ifdef BB_TAR
+ #ifdef BB_FEATURE_TAR_GZIP
+ #ifndef BB_GUNZIP
+ #define BB_GUNZIP
+ #endif
+ #endif
#endif
+//
+#if defined BB_MOUNT && defined BB_FEATURE_NFSMOUNT
+ #define BB_NFSMOUNT
#endif
//
#if defined BB_FEATURE_AUTOWIDTH
-#ifndef BB_FEATURE_USE_TERMIOS
-#define BB_FEATURE_USE_TERMIOS
+ #ifndef BB_FEATURE_USE_TERMIOS
+ #define BB_FEATURE_USE_TERMIOS
+ #endif
#endif
+//
+#if defined BB_INSMOD || defined BB_LSMOD
+ #if ! defined BB_FEATURE_NEW_MODULE_INTERFACE && ! defined BB_FEATURE_OLD_MODULE_INTERFACE
+ #define BB_FEATURE_NEW_MODULE_INTERFACE
+ #endif
#endif
//
-#if defined BB_INSMOD
-#ifndef BB_FEATURE_INSMOD_OLD_KERNEL
-#define BB_FEATURE_INSMOD_NEW_KERNEL
+#ifdef BB_SYSLOGD
+ #if defined BB_FEATURE_IPC_SYSLOG
+ #define BB_LOGREAD
+ #endif
#endif
+//
+#if defined BB_DOS2UNIX
+ #define BB_UNIX2DOS
#endif
+