summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-06-19 17:51:32 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-06-19 17:52:51 +0200
commit040632792e9f19ccf49149e4ae3ddac351a98b5a (patch)
tree2ca2fe14f187f1a51ee55a6e908536a97749f840 /extra
parent45850d5239bcff4f1352ab7cf4c364cfd46acbcf (diff)
argp: select getopt / getopt_long
Select required features. Fix intendation. Reported-by: Leonid Lisovskiy <lly.dev@gmail.com>
Diffstat (limited to 'extra')
-rw-r--r--extra/Configs/Config.in30
1 files changed, 16 insertions, 14 deletions
diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in
index a21bdac2f..4a1509d88 100644
--- a/extra/Configs/Config.in
+++ b/extra/Configs/Config.in
@@ -1877,20 +1877,22 @@ config UCLIBC_HAS_GNU_GETSUBOPT
Most people will answer Y.
config UCLIBC_HAS_ARGP
- bool "Support argp (as standalone shared object)"
- default n
- help
- Argp is an interface for parsing unix-style argument vectors. Unlike
- the common getopt interface, it provides many advanced features in
- addition to parsing options, such as automatic output in response to
- `--help' and `--version' options.
- A library can export an argp option parser, which programs can easily
- use in conjunction with their own option parser.
- A new shared object "libuargp" is created. The "libc.so" linker script
- contains the AS_NEEDED entry for getting the libuargp linked automatically.
- Argp support is needed by elfutils libdw.
-
- Most people can safely answer N.
+ bool "Support argp (as standalone shared object)"
+ select UCLIBC_HAS_GETOPT_LONG
+ select UCLIBC_HAS_GNU_GETOPT
+ default n
+ help
+ Argp is an interface for parsing unix-style argument vectors. Unlike
+ the common getopt interface, it provides many advanced features in
+ addition to parsing options, such as automatic output in response to
+ `--help' and `--version' options.
+ A library can export an argp option parser, which programs can easily
+ use in conjunction with their own option parser.
+ A new shared object "libuargp" is created. The "libc.so" linker script
+ contains the AS_NEEDED entry for getting the libuargp linked automatically.
+ Argp support is needed by elfutils libdw.
+
+ Most people can safely answer N.
endmenu