Browse Source

argp: select getopt / getopt_long

Select required features. Fix intendation.
Reported-by: Leonid Lisovskiy <lly.dev@gmail.com>
Waldemar Brodkorb 8 years ago
parent
commit
040632792e
1 changed files with 16 additions and 14 deletions
  1. 16 14
      extra/Configs/Config.in

+ 16 - 14
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