aboutsummaryrefslogtreecommitdiff
path: root/include/busybox.h
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2016-07-22 18:48:38 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2016-07-22 18:48:38 +0200
commit0fb0045aa9261be1dda49dfdfb95cbc585402a8b (patch)
tree951e3f34078b2a2e5702672472dc7ba3b1e51926 /include/busybox.h
parent49117b48008e0fe36d6680c787045cb44a300f93 (diff)
downloadbusybox-0fb0045aa9261be1dda49dfdfb95cbc585402a8b.tar.gz
config: disentangle PREFER_APPLETS from SH_STANDALONE and SH_NOFORK
On user request. I thought enabling/disabling them all together is more consistent. Evidently, some people do want them to be separately selectable. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include/busybox.h')
-rw-r--r--include/busybox.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/busybox.h b/include/busybox.h
index 737627bd0..6a003d544 100644
--- a/include/busybox.h
+++ b/include/busybox.h
@@ -19,7 +19,9 @@ extern const uint8_t applet_flags[] ALIGN1;
extern const uint8_t applet_suid[] ALIGN1;
extern const uint8_t applet_install_loc[] ALIGN1;
-#if ENABLE_FEATURE_PREFER_APPLETS
+#if ENABLE_FEATURE_PREFER_APPLETS \
+ || ENABLE_FEATURE_SH_STANDALONE \
+ || ENABLE_FEATURE_SH_NOFORK
# define APPLET_IS_NOFORK(i) (applet_flags[(i)/4] & (1 << (2 * ((i)%4))))
# define APPLET_IS_NOEXEC(i) (applet_flags[(i)/4] & (1 << ((2 * ((i)%4))+1)))
#else