aboutsummaryrefslogtreecommitdiff
path: root/Config.h
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-07-19 22:28:02 +0000
committerEric Andersen <andersen@codepoet.org>2001-07-19 22:28:02 +0000
commit20aab260e2f7011523402464fb079f48e5899890 (patch)
treef7822e652f54884459d525f57f1ef18c03a126f7 /Config.h
parent0382eb886529fc4dab170e7d66883c20fe0e2883 (diff)
downloadbusybox-w32-20aab260e2f7011523402464fb079f48e5899890.tar.gz
busybox-w32-20aab260e2f7011523402464fb079f48e5899890.tar.bz2
busybox-w32-20aab260e2f7011523402464fb079f48e5899890.zip
Some adjustments, mostly from David McCullough <davidm@lineo.com> to
make busybox be more uClinux friendly. I also adjusted Config.h for uClinux so it will automagically disable apps the arn't going to work without fork() and such. -Erik
Diffstat (limited to 'Config.h')
-rw-r--r--Config.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/Config.h b/Config.h
index 00294f72e..1daf65cc7 100644
--- a/Config.h
+++ b/Config.h
@@ -417,6 +417,19 @@
417// Nothing beyond this point should ever be touched by 417// Nothing beyond this point should ever be touched by
418// mere mortals so leave this stuff alone. 418// mere mortals so leave this stuff alone.
419// 419//
420#include <features.h>
421#if defined __UCLIBC__ && ! defined __UCLIBC_HAS_MMU__
422 #undef BB_RPM2CPIO /* Uses gz_open(), which uses fork() */
423 #undef BB_DPKG_DEB /* Uses gz_open(), which uses fork() */
424 #undef BB_FEATURE_ASH /* Uses fork() */
425 #undef BB_FEATURE_HUSH /* Uses fork() */
426 #undef BB_FEATURE_LASH /* Uses fork() */
427 #undef BB_INIT /* Uses fork() */
428 #undef BB_FEATURE_TAR_GZIP /* Uses fork() */
429 #undef BB_SYSLOGD /* Uses daemon() */
430 #undef BB_KLOGD /* Uses daemon() */
431 #undef BB_UPDATE /* Uses daemon() */
432#endif
420#if defined BB_SH 433#if defined BB_SH
421 #if defined BB_FEATURE_COMMAND_EDITING 434 #if defined BB_FEATURE_COMMAND_EDITING
422 #define BB_CMDEDIT 435 #define BB_CMDEDIT