- 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/networking/Config.in b/networking/Config.in
index e76002c..c718af0 100644
--- a/networking/Config.in
+++ b/networking/Config.in
@@ -49,6 +49,13 @@
help
Store a remote file via FTP.
+config CONFIG_FEATURE_FTPGETPUT_LONG_OPTIONS
+ bool "Enable long options in ftpget/ftpput"
+ default n
+ depends on CONFIG_GETOPT_LONG && (CONFIG_FTPGET || CONFIG_FTPPUT)
+ help
+ Support long options for the ftpget/ftpput applet.
+
config CONFIG_HOSTNAME
bool "hostname"
default n
@@ -411,6 +418,13 @@
help
Adds the options hostname, prefix and silent to the output of "ipcalc".
+config CONFIG_FEATURE_IPCALC_LONG_OPTIONS
+ bool "Enable long options"
+ default n
+ depends on CONFIG_IPCALC && CONFIG_GETOPT_LONG
+ help
+ Support long options for the ipcalc applet.
+
config CONFIG_NAMEIF
bool "nameif"
default n