diff options
Diffstat (limited to 'debian')
-rw-r--r-- | debian/Config.h-deb | 34 | ||||
-rw-r--r-- | debian/Config.h-static | 35 | ||||
-rw-r--r-- | debian/Config.h-udeb | 36 |
3 files changed, 45 insertions, 60 deletions
diff --git a/debian/Config.h-deb b/debian/Config.h-deb index 020f89d81..7fe9f9597 100644 --- a/debian/Config.h-deb +++ b/debian/Config.h-deb | |||
@@ -391,6 +391,19 @@ | |||
391 | // Nothing beyond this point should ever be touched by | 391 | // Nothing beyond this point should ever be touched by |
392 | // mere mortals so leave this stuff alone. | 392 | // mere mortals so leave this stuff alone. |
393 | // | 393 | // |
394 | #include <features.h> | ||
395 | #if defined __UCLIBC__ && ! defined __UCLIBC_HAS_MMU__ | ||
396 | #undef BB_RPM2CPIO /* Uses gz_open(), which uses fork() */ | ||
397 | #undef BB_DPKG_DEB /* Uses gz_open(), which uses fork() */ | ||
398 | #undef BB_ASH /* Uses fork() */ | ||
399 | #undef BB_HUSH /* Uses fork() */ | ||
400 | #undef BB_LASH /* Uses fork() */ | ||
401 | #undef BB_INIT /* Uses fork() */ | ||
402 | #undef BB_FEATURE_TAR_GZIP /* Uses fork() */ | ||
403 | #undef BB_SYSLOGD /* Uses daemon() */ | ||
404 | #undef BB_KLOGD /* Uses daemon() */ | ||
405 | #undef BB_UPDATE /* Uses daemon() */ | ||
406 | #endif | ||
394 | #if defined BB_ASH || defined BB_HUSH || defined BB_LASH || defined BB_MSH | 407 | #if defined BB_ASH || defined BB_HUSH || defined BB_LASH || defined BB_MSH |
395 | #if defined BB_FEATURE_COMMAND_EDITING | 408 | #if defined BB_FEATURE_COMMAND_EDITING |
396 | #define BB_CMDEDIT | 409 | #define BB_CMDEDIT |
@@ -400,26 +413,6 @@ | |||
400 | #undef BB_FEATURE_COMMAND_USERNAME_COMPLETION | 413 | #undef BB_FEATURE_COMMAND_USERNAME_COMPLETION |
401 | #undef BB_FEATURE_SH_FANCY_PROMPT | 414 | #undef BB_FEATURE_SH_FANCY_PROMPT |
402 | #endif | 415 | #endif |
403 | #if ! defined BB_FEATURE_LASH && ! defined BB_FEATURE_HUSH && ! defined BB_FEATURE_MSH && ! defined BB_FEATURE_ASH | ||
404 | #define BB_FEATURE_MSH | ||
405 | #endif | ||
406 | #if defined BB_FEATURE_ASH && (defined BB_FEATURE_LASH || defined BB_FEATURE_HUSH || defined BB_FEATURE_MSH) | ||
407 | #undef BB_FEATURE_LASH | ||
408 | #undef BB_FEATURE_HUSH | ||
409 | #undef BB_FEATURE_MSH | ||
410 | #elif defined BB_FEATURE_MSH && (defined BB_FEATURE_LASH || defined BB_FEATURE_HUSH || defined BB_FEATURE_MSH) | ||
411 | #undef BB_FEATURE_LASH | ||
412 | #undef BB_FEATURE_HUSH | ||
413 | #undef BB_FEATURE_ASH | ||
414 | #elif defined BB_FEATURE_HUSH && (defined BB_FEATURE_LASH || defined BB_FEATURE_HUSH || defined BB_FEATURE_MSH) | ||
415 | #undef BB_FEATURE_LASH | ||
416 | #undef BB_FEATURE_MSH | ||
417 | #undef BB_FEATURE_ASH | ||
418 | #elif defined BB_FEATURE_LASH && (defined BB_FEATURE_LASH || defined BB_FEATURE_HUSH || defined BB_FEATURE_MSH) | ||
419 | #undef BB_FEATURE_HUSH | ||
420 | #undef BB_FEATURE_MSH | ||
421 | #undef BB_FEATURE_ASH | ||
422 | #endif | ||
423 | #else | 416 | #else |
424 | #undef BB_FEATURE_SH_APPLETS_ALWAYS_WIN | 417 | #undef BB_FEATURE_SH_APPLETS_ALWAYS_WIN |
425 | #undef BB_FEATURE_SH_STANDALONE_SHELL | 418 | #undef BB_FEATURE_SH_STANDALONE_SHELL |
@@ -471,3 +464,4 @@ | |||
471 | # define BB_SH | 464 | # define BB_SH |
472 | # define shell_main msh_main | 465 | # define shell_main msh_main |
473 | #endif | 466 | #endif |
467 | |||
diff --git a/debian/Config.h-static b/debian/Config.h-static index a538b1a63..bbf4e577f 100644 --- a/debian/Config.h-static +++ b/debian/Config.h-static | |||
@@ -391,6 +391,19 @@ | |||
391 | // Nothing beyond this point should ever be touched by | 391 | // Nothing beyond this point should ever be touched by |
392 | // mere mortals so leave this stuff alone. | 392 | // mere mortals so leave this stuff alone. |
393 | // | 393 | // |
394 | #include <features.h> | ||
395 | #if defined __UCLIBC__ && ! defined __UCLIBC_HAS_MMU__ | ||
396 | #undef BB_RPM2CPIO /* Uses gz_open(), which uses fork() */ | ||
397 | #undef BB_DPKG_DEB /* Uses gz_open(), which uses fork() */ | ||
398 | #undef BB_ASH /* Uses fork() */ | ||
399 | #undef BB_HUSH /* Uses fork() */ | ||
400 | #undef BB_LASH /* Uses fork() */ | ||
401 | #undef BB_INIT /* Uses fork() */ | ||
402 | #undef BB_FEATURE_TAR_GZIP /* Uses fork() */ | ||
403 | #undef BB_SYSLOGD /* Uses daemon() */ | ||
404 | #undef BB_KLOGD /* Uses daemon() */ | ||
405 | #undef BB_UPDATE /* Uses daemon() */ | ||
406 | #endif | ||
394 | #if defined BB_ASH || defined BB_HUSH || defined BB_LASH || defined BB_MSH | 407 | #if defined BB_ASH || defined BB_HUSH || defined BB_LASH || defined BB_MSH |
395 | #if defined BB_FEATURE_COMMAND_EDITING | 408 | #if defined BB_FEATURE_COMMAND_EDITING |
396 | #define BB_CMDEDIT | 409 | #define BB_CMDEDIT |
@@ -400,26 +413,6 @@ | |||
400 | #undef BB_FEATURE_COMMAND_USERNAME_COMPLETION | 413 | #undef BB_FEATURE_COMMAND_USERNAME_COMPLETION |
401 | #undef BB_FEATURE_SH_FANCY_PROMPT | 414 | #undef BB_FEATURE_SH_FANCY_PROMPT |
402 | #endif | 415 | #endif |
403 | #if ! defined BB_FEATURE_LASH && ! defined BB_FEATURE_HUSH && ! defined BB_FEATURE_MSH && ! defined BB_FEATURE_ASH | ||
404 | #define BB_FEATURE_MSH | ||
405 | #endif | ||
406 | #if defined BB_FEATURE_ASH && (defined BB_FEATURE_LASH || defined BB_FEATURE_HUSH || defined BB_FEATURE_MSH) | ||
407 | #undef BB_FEATURE_LASH | ||
408 | #undef BB_FEATURE_HUSH | ||
409 | #undef BB_FEATURE_MSH | ||
410 | #elif defined BB_FEATURE_MSH && (defined BB_FEATURE_LASH || defined BB_FEATURE_HUSH || defined BB_FEATURE_MSH) | ||
411 | #undef BB_FEATURE_LASH | ||
412 | #undef BB_FEATURE_HUSH | ||
413 | #undef BB_FEATURE_ASH | ||
414 | #elif defined BB_FEATURE_HUSH && (defined BB_FEATURE_LASH || defined BB_FEATURE_HUSH || defined BB_FEATURE_MSH) | ||
415 | #undef BB_FEATURE_LASH | ||
416 | #undef BB_FEATURE_MSH | ||
417 | #undef BB_FEATURE_ASH | ||
418 | #elif defined BB_FEATURE_LASH && (defined BB_FEATURE_LASH || defined BB_FEATURE_HUSH || defined BB_FEATURE_MSH) | ||
419 | #undef BB_FEATURE_HUSH | ||
420 | #undef BB_FEATURE_MSH | ||
421 | #undef BB_FEATURE_ASH | ||
422 | #endif | ||
423 | #else | 416 | #else |
424 | #undef BB_FEATURE_SH_APPLETS_ALWAYS_WIN | 417 | #undef BB_FEATURE_SH_APPLETS_ALWAYS_WIN |
425 | #undef BB_FEATURE_SH_STANDALONE_SHELL | 418 | #undef BB_FEATURE_SH_STANDALONE_SHELL |
@@ -471,3 +464,5 @@ | |||
471 | # define BB_SH | 464 | # define BB_SH |
472 | # define shell_main msh_main | 465 | # define shell_main msh_main |
473 | #endif | 466 | #endif |
467 | |||
468 | |||
diff --git a/debian/Config.h-udeb b/debian/Config.h-udeb index 172d3dc75..74d4c7200 100644 --- a/debian/Config.h-udeb +++ b/debian/Config.h-udeb | |||
@@ -391,6 +391,19 @@ | |||
391 | // Nothing beyond this point should ever be touched by | 391 | // Nothing beyond this point should ever be touched by |
392 | // mere mortals so leave this stuff alone. | 392 | // mere mortals so leave this stuff alone. |
393 | // | 393 | // |
394 | #include <features.h> | ||
395 | #if defined __UCLIBC__ && ! defined __UCLIBC_HAS_MMU__ | ||
396 | #undef BB_RPM2CPIO /* Uses gz_open(), which uses fork() */ | ||
397 | #undef BB_DPKG_DEB /* Uses gz_open(), which uses fork() */ | ||
398 | #undef BB_ASH /* Uses fork() */ | ||
399 | #undef BB_HUSH /* Uses fork() */ | ||
400 | #undef BB_LASH /* Uses fork() */ | ||
401 | #undef BB_INIT /* Uses fork() */ | ||
402 | #undef BB_FEATURE_TAR_GZIP /* Uses fork() */ | ||
403 | #undef BB_SYSLOGD /* Uses daemon() */ | ||
404 | #undef BB_KLOGD /* Uses daemon() */ | ||
405 | #undef BB_UPDATE /* Uses daemon() */ | ||
406 | #endif | ||
394 | #if defined BB_ASH || defined BB_HUSH || defined BB_LASH || defined BB_MSH | 407 | #if defined BB_ASH || defined BB_HUSH || defined BB_LASH || defined BB_MSH |
395 | #if defined BB_FEATURE_COMMAND_EDITING | 408 | #if defined BB_FEATURE_COMMAND_EDITING |
396 | #define BB_CMDEDIT | 409 | #define BB_CMDEDIT |
@@ -400,26 +413,6 @@ | |||
400 | #undef BB_FEATURE_COMMAND_USERNAME_COMPLETION | 413 | #undef BB_FEATURE_COMMAND_USERNAME_COMPLETION |
401 | #undef BB_FEATURE_SH_FANCY_PROMPT | 414 | #undef BB_FEATURE_SH_FANCY_PROMPT |
402 | #endif | 415 | #endif |
403 | #if ! defined BB_FEATURE_LASH && ! defined BB_FEATURE_HUSH && ! defined BB_FEATURE_MSH && ! defined BB_FEATURE_ASH | ||
404 | #define BB_FEATURE_MSH | ||
405 | #endif | ||
406 | #if defined BB_FEATURE_ASH && (defined BB_FEATURE_LASH || defined BB_FEATURE_HUSH || defined BB_FEATURE_MSH) | ||
407 | #undef BB_FEATURE_LASH | ||
408 | #undef BB_FEATURE_HUSH | ||
409 | #undef BB_FEATURE_MSH | ||
410 | #elif defined BB_FEATURE_MSH && (defined BB_FEATURE_LASH || defined BB_FEATURE_HUSH || defined BB_FEATURE_MSH) | ||
411 | #undef BB_FEATURE_LASH | ||
412 | #undef BB_FEATURE_HUSH | ||
413 | #undef BB_FEATURE_ASH | ||
414 | #elif defined BB_FEATURE_HUSH && (defined BB_FEATURE_LASH || defined BB_FEATURE_HUSH || defined BB_FEATURE_MSH) | ||
415 | #undef BB_FEATURE_LASH | ||
416 | #undef BB_FEATURE_MSH | ||
417 | #undef BB_FEATURE_ASH | ||
418 | #elif defined BB_FEATURE_LASH && (defined BB_FEATURE_LASH || defined BB_FEATURE_HUSH || defined BB_FEATURE_MSH) | ||
419 | #undef BB_FEATURE_HUSH | ||
420 | #undef BB_FEATURE_MSH | ||
421 | #undef BB_FEATURE_ASH | ||
422 | #endif | ||
423 | #else | 416 | #else |
424 | #undef BB_FEATURE_SH_APPLETS_ALWAYS_WIN | 417 | #undef BB_FEATURE_SH_APPLETS_ALWAYS_WIN |
425 | #undef BB_FEATURE_SH_STANDALONE_SHELL | 418 | #undef BB_FEATURE_SH_STANDALONE_SHELL |
@@ -471,3 +464,6 @@ | |||
471 | # define BB_SH | 464 | # define BB_SH |
472 | # define shell_main msh_main | 465 | # define shell_main msh_main |
473 | #endif | 466 | #endif |
467 | |||
468 | |||
469 | |||