eglibc: fix wrong config symbol name if library configuration submenu
[openwrt/.git] / toolchain / eglibc / config / Config.in
index 5cdd2094beb0afcbd8fce13a9f2efff65e55cb37..82d04cdb03ca5b333f29ab1d4f57f1ad13fc5b70 100644 (file)
@@ -1,7 +1,7 @@
 config EGLIBC_OPTION_EGLIBC_ADVANCED_INET6
    bool "IPv6 Advanced Sockets API support (RFC3542)"
    default y
 config EGLIBC_OPTION_EGLIBC_ADVANCED_INET6
    bool "IPv6 Advanced Sockets API support (RFC3542)"
    default y
-   depends EGLIBC_OPTION_EGLIBC_INET
+   select EGLIBC_OPTION_EGLIBC_INET
    help
        This option group includes the functions specified by RFC 3542,
        "Advanced Sockets Application Program Interface (API) for
    help
        This option group includes the functions specified by RFC 3542,
        "Advanced Sockets Application Program Interface (API) for
@@ -64,8 +64,8 @@ config EGLIBC_OPTION_EGLIBC_BSD
 config EGLIBC_OPTION_EGLIBC_CXX_TESTS
    bool "Tests that link against the standard C++ library."
    default y
 config EGLIBC_OPTION_EGLIBC_CXX_TESTS
    bool "Tests that link against the standard C++ library."
    default y
-   depends EGLIBC_OPTION_POSIX_WIDE_CHAR_DEVICE_IO
-   depends EGLIBC_OPTION_EGLIBC_LIBM
+   select EGLIBC_OPTION_POSIX_WIDE_CHAR_DEVICE_IO
+   select EGLIBC_OPTION_EGLIBC_LIBM
    help
        This option group does not include any C library functions;
        instead, it controls which EGLIBC tests an ordinary 'make
    help
        This option group does not include any C library functions;
        instead, it controls which EGLIBC tests an ordinary 'make
@@ -80,7 +80,7 @@ config EGLIBC_OPTION_EGLIBC_CXX_TESTS
 config EGLIBC_OPTION_EGLIBC_CATGETS
    bool "Functions for accessing message catalogs"
    default y
 config EGLIBC_OPTION_EGLIBC_CATGETS
    bool "Functions for accessing message catalogs"
    default y
-   depends EGLIBC_OPTION_EGLIBC_LOCALE_CODE
+   select EGLIBC_OPTION_EGLIBC_LOCALE_CODE
    help
        This option group includes functions for accessing message
        catalogs: catopen, catclose, and catgets.
    help
        This option group includes functions for accessing message
        catalogs: catopen, catclose, and catgets.
@@ -187,6 +187,31 @@ config EGLIBC_OPTION_EGLIBC_ENVZ
         envz_entry      envz_remove
         envz_get        envz_strip 
 
         envz_entry      envz_remove
         envz_get        envz_strip 
 
+config EGLIBC_OPTION_EGLIBC_FCVT
+   bool "Functions for converting floating-point numbers to strings"
+   default y
+   depends EGLIBC_VERSION_2_10
+   help
+       This option group includes functions for converting
+       floating-point numbers to strings.
+
+       This option group includes the following functions:
+
+         ecvt           qecvt
+         ecvt_r         qecvt_r
+         fcvt           qfcvt
+         fcvt_r         qfcvt_r
+         gcvt           qgcvt
+
+config EGLIBC_OPTION_EGLIBC_FMTMSG
+   bool "Functions for formatting messages"
+   default y
+   depends EGLIBC_VERSION_2_10
+   help
+       This option group includes the following functions:
+
+         addseverity    fmtmsg
+
 config EGLIBC_OPTION_EGLIBC_FSTAB
    bool "Access functions for 'fstab'"
    default y
 config EGLIBC_OPTION_EGLIBC_FSTAB
    bool "Access functions for 'fstab'"
    default y
@@ -196,16 +221,32 @@ config EGLIBC_OPTION_EGLIBC_FSTAB
        not included in the POSIX standard, which provides the
        'getmntent' family of functions instead.
 
        not included in the POSIX standard, which provides the
        'getmntent' family of functions instead.
 
-       This option group includues the following functions:
+       This option group includes the following functions:
 
          endfsent       getfsspec
          getfsent       setfsent
          getfsfile
 
 
          endfsent       getfsspec
          getfsent       setfsent
          getfsfile
 
+config EGLIBC_OPTION_EGLIBC_FTRAVERSE
+   bool "Functions for traversing file hierarchies"
+   default y
+   depends EGLIBC_VERSION_2_10
+   help
+       This option group includes functions for traversing file
+       UNIX file hierachies.
+
+       This option group includes the following functions:
+
+         fts_open       ftw
+         fts_read       nftw
+         fts_children   ftw64
+         fts_set        nftw64
+         fts_close
+
 config EGLIBC_OPTION_EGLIBC_GETLOGIN
    bool "The getlogin function"
    default y
 config EGLIBC_OPTION_EGLIBC_GETLOGIN
    bool "The getlogin function"
    default y
-   depends EGLIBC_OPTION_EGLIBC_UTMP
+   select EGLIBC_OPTION_EGLIBC_UTMP
    help
        This function group includes the 'getlogin' and 'getlogin_r'
        functions, which return the user name associated by the login
    help
        This function group includes the 'getlogin' and 'getlogin_r'
        functions, which return the user name associated by the login
@@ -372,7 +413,7 @@ config EGLIBC_OPTION_EGLIBC_LOCALES
 config EGLIBC_OPTION_EGLIBC_LOCALE_CODE
    bool "Locale functions"
    default y
 config EGLIBC_OPTION_EGLIBC_LOCALE_CODE
    bool "Locale functions"
    default y
-   depends EGLIBC_OPTION_POSIX_C_LANG_WIDE_CHAR
+   select EGLIBC_OPTION_POSIX_C_LANG_WIDE_CHAR if EGLIBC_VERSION_2_8 || EGLIBC_VERSION_2_9 || EGLIBC_VERSION_2_10
    help
        This option group includes locale support functions, programs,
        and libraries.  With EGLIBC_LOCALE_FUNCTIONS disabled,
    help
        This option group includes locale support functions, programs,
        and libraries.  With EGLIBC_LOCALE_FUNCTIONS disabled,
@@ -396,8 +437,8 @@ config EGLIBC_OPTION_EGLIBC_LOCALE_CODE
 config EGLIBC_OPTION_EGLIBC_NIS
    bool "Support for NIS, NIS+, and the special 'compat' services."
    default y
 config EGLIBC_OPTION_EGLIBC_NIS
    bool "Support for NIS, NIS+, and the special 'compat' services."
    default y
-   depends EGLIBC_OPTION_EGLIBC_INET
-   depends EGLIBC_OPTION_EGLIBC_SUNRPC
+   select EGLIBC_OPTION_EGLIBC_INET
+   select EGLIBC_OPTION_EGLIBC_SUNRPC
    help
        This option group includes the NIS, NIS+, and 'compat' Name
        Service Switch service libraries.  When it is disabled, those
    help
        This option group includes the NIS, NIS+, and 'compat' Name
        Service Switch service libraries.  When it is disabled, those
@@ -488,7 +529,7 @@ config EGLIBC_OPTION_EGLIBC_NSSWITCH
 config EGLIBC_OPTION_EGLIBC_RCMD
    bool "Support for 'rcmd' and related library functions"
    default y
 config EGLIBC_OPTION_EGLIBC_RCMD
    bool "Support for 'rcmd' and related library functions"
    default y
-   depends EGLIBC_OPTION_EGLIBC_INET
+   select EGLIBC_OPTION_EGLIBC_INET
    help
       This option group includes functions for running commands on
       remote machines via the 'rsh' protocol, and doing authentication
    help
       This option group includes functions for running commands on
       remote machines via the 'rsh' protocol, and doing authentication
@@ -561,7 +602,7 @@ config EGLIBC_OPTION_EGLIBC_STREAMS
 config EGLIBC_OPTION_EGLIBC_SUNRPC
    bool "Support for the Sun 'RPC' protocol."
    default y
 config EGLIBC_OPTION_EGLIBC_SUNRPC
    bool "Support for the Sun 'RPC' protocol."
    default y
-   depends EGLIBC_OPTION_EGLIBC_INET
+   select EGLIBC_OPTION_EGLIBC_INET
    help
       This option group includes support for the Sun RPC protocols,
       including the 'rpcgen' and 'rpcinfo' programs.
    help
       This option group includes support for the Sun RPC protocols,
       including the 'rpcgen' and 'rpcinfo' programs.
@@ -597,7 +638,7 @@ config EGLIBC_OPTION_EGLIBC_UTMP
 config EGLIBC_OPTION_EGLIBC_UTMPX
    bool "POSIX access functions for 'utmp' login records"
    default y
 config EGLIBC_OPTION_EGLIBC_UTMPX
    bool "POSIX access functions for 'utmp' login records"
    default y
-   depends EGLIBC_OPTION_EGLIBC_UTMP    
+   select EGLIBC_OPTION_EGLIBC_UTMP    
    help
        This option group includes the POSIX functions for reading and
        writing user login records in the 'utmp' file (usually
    help
        This option group includes the POSIX functions for reading and
        writing user login records in the 'utmp' file (usually
@@ -629,6 +670,7 @@ config EGLIBC_OPTION_EGLIBC_WORDEXP
 config EGLIBC_OPTION_POSIX_C_LANG_WIDE_CHAR
    bool "ISO C library wide character functions, excluding I/O"
    default y
 config EGLIBC_OPTION_POSIX_C_LANG_WIDE_CHAR
    bool "ISO C library wide character functions, excluding I/O"
    default y
+   depends EGLIBC_VERSION_2_8 || EGLIBC_VERSION_2_9 || EGLIBC_VERSION_2_10
    help
         This option group includes the functions defined by the ISO C
         standard for working with wide and multibyte characters in
    help
         This option group includes the functions defined by the ISO C
         standard for working with wide and multibyte characters in
@@ -678,10 +720,23 @@ config EGLIBC_OPTION_POSIX_REGEXP
         <regexp.h> header file, 'compile', 'step', and 'advance', is
         omitted.
 
         <regexp.h> header file, 'compile', 'step', and 'advance', is
         omitted.
 
+config EGLIBC_OPTION_POSIX_REGEXP_GLIBC
+   bool "Regular expressions from GLIBC"
+   default y
+   select EGLIBC_OPTION_POSIX_REGEXP
+   depends EGLIBC_VERSION_2_10
+   help
+        This option group specifies which regular expression
+        library to use.  The choice is between regex
+        implementation from GLIBC and regex implementation from
+        libiberty.  The GLIBC variant is fully POSIX conformant and
+        optimized for speed; regex from libiberty is more than twice
+        as small while still is enough for most practical purposes.
+
 config EGLIBC_OPTION_POSIX_WIDE_CHAR_DEVICE_IO
    bool "Input and output functions for wide characters"
    default y
 config EGLIBC_OPTION_POSIX_WIDE_CHAR_DEVICE_IO
    bool "Input and output functions for wide characters"
    default y
-   depends EGLIBC_OPTION_POSIX_C_LANG_WIDE_CHAR
+   select EGLIBC_OPTION_POSIX_C_LANG_WIDE_CHAR if EGLIBC_VERSION_2_8 || EGLIBC_VERSION_2_9 || EGLIBC_VERSION_2_10
    help
         This option group includes functions for reading and writing
         wide characters to and from <stdio.h> streams.
    help
         This option group includes functions for reading and writing
         wide characters to and from <stdio.h> streams.