- add central knob to turn off getopt_long everywhere. EXPERIMENTAL!
Adds "Enable getopt long" under "General options", default y.
Send patches to fix getopt_ulflags and run_parts.c if you turn this off..
See http://busybox.net/lists/busybox/2006-May/021828.html for a start to run-parts
diff --git a/Config.in b/Config.in
index bd94f493..b299ee7 100644
--- a/Config.in
+++ b/Config.in
@@ -80,6 +80,21 @@
Enable this if your system has locale support and you would like
busybox to support locale settings.
+config CONFIG_GETOPT_LONG
+ bool "Enable getopt long (system needs struct option for this to work)"
+ default n
+ depends on !CONFIG_NO_GETOPT_LONG
+ help
+ EXPERIMENTAL!
+ Enable this if your system support long options for getopt and
+ you want to use them in busybox.
+
+# remove this comment to disable getopt_long per default.
+#config CONFIG_NO_GETOPT_LONG
+# bool
+# default y
+# depends on !CONFIG_GETOPT_LONG
+
config CONFIG_FEATURE_DEVFS
bool "Use devfs names for devices"
default n