eglibc: disable NIS/SUNRPC by default. RPC support is provided by librpc
[openwrt.git] / toolchain / eglibc / config / Config.in
index a55c660..6f02223 100644 (file)
@@ -46,6 +46,16 @@ config EGLIBC_OPTION_EGLIBC_BACKTRACE
                backtrace_symbols_fd
 
 
+config EGLIBC_OPTION_EGLIBC_BIG_MACROS
+       bool "Use extensive inline code"
+       default y
+       help
+         This option group specifies whether certain pieces of code
+         should be inlined to achieve maximum speed.  If this option
+         group is not selected, function calls will be used instead,
+         hence reducing the library footprint.
+
+
 config EGLIBC_OPTION_EGLIBC_BSD
        bool "BSD-specific functions, and their compatibility stubs"
        default y
@@ -159,6 +169,28 @@ config EGLIBC_OPTION_EGLIBC_CHARSETS
                                                        32-bit ISO 10646)
 
 
+config EGLIBC_OPTION_EGLIBC_CRYPT
+       bool "Encryption library"
+       default y
+       help
+         This option group includes the `libcrypt' library which
+         provides functions for one-way encryption.  Supported
+         encryption algorithms include MD5, SHA-256, SHA-512 and DES.
+
+
+config EGLIBC_OPTION_EGLIBC_CRYPT_UFC
+       bool "Ultra fast `crypt' implementation"
+       default y
+       select EGLIBC_OPTION_EGLIBC_CRYPT
+       help
+         This option group provides ultra fast DES-based implementation of
+         the `crypt' function.  When this option group is disabled,
+         (a) the library will not provide the setkey[_r] and encrypt[_r]
+         functions and (b) the crypt[_r] function will return NULL and set the
+         errno to ENOSYS if /salt/ passed does not correspond to either MD5,
+         SHA-256 or SHA-512 algorithm.
+
+
 config EGLIBC_OPTION_EGLIBC_DB_ALIASES
        bool "Functions for accessing the mail aliases database"
        default y
@@ -198,7 +230,6 @@ config EGLIBC_OPTION_EGLIBC_ENVZ
 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.
@@ -215,7 +246,6 @@ config EGLIBC_OPTION_EGLIBC_FCVT
 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:
 
@@ -237,10 +267,10 @@ config EGLIBC_OPTION_EGLIBC_FSTAB
                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.
@@ -268,6 +298,14 @@ config EGLIBC_OPTION_EGLIBC_GETLOGIN
          expansion when the 'HOME' environment variable is not set.
 
 
+config EGLIBC_OPTION_EGLIBC_IDN
+       bool "International domain names support"
+       default y
+       help
+         This option group includes the `libcidn' library which
+         provides support for international domain names.
+
+
 config EGLIBC_OPTION_EGLIBC_INET
        bool "Networking support"
        default y
@@ -395,6 +433,15 @@ config EGLIBC_OPTION_EGLIBC_INET
          syslog is valuable in non-networked contexts.
 
 
+config EGLIBC_OPTION_EGLIBC_INET_ANL
+       bool "Asynchronous name lookup"
+       default y
+       select EGLIBC_OPTION_EGLIBC_INET
+       help
+         This option group includes the `libanl' library which
+         provides support for asynchronous name lookup.
+
+
 config EGLIBC_OPTION_EGLIBC_LIBM
        bool "libm (math library)"
        default y
@@ -415,6 +462,21 @@ config EGLIBC_OPTION_EGLIBC_LIBM
          resulting EGLIBC installation.
 
 
+config EGLIBC_OPTION_EGLIBC_LIBM_BIG
+       bool "Math library size"
+       default y
+       help
+         This option group enables default configuration of the math library.
+         Not selecting this option group removes most of the extended and
+         double precision math functions and replaces them with wrappers
+         to the single precision couterparts.
+         Doing so greatly degrades quality of calculations carried
+         out by the functions of the math library, but also significantly
+         reduces the size of the libm.
+         This option group is useful for systems that do not rely on precise
+         floating point math.
+
+
 config EGLIBC_OPTION_EGLIBC_LOCALES
        bool "Locale definitions"
        default y
@@ -427,15 +489,15 @@ config EGLIBC_OPTION_EGLIBC_LOCALES
 config EGLIBC_OPTION_EGLIBC_LOCALE_CODE
        bool "Locale functions"
        default y
-       select EGLIBC_OPTION_POSIX_C_LANG_WIDE_CHAR if EGLIBC_VERSION_2_8 || EGLIBC_VERSION_2_9 || EGLIBC_VERSION_2_10
+       select EGLIBC_OPTION_POSIX_C_LANG_WIDE_CHAR
        help
          This option group includes locale support functions, programs,
-         and libraries.  With EGLIBC_LOCALE_FUNCTIONS disabled,
+         and libraries.  With EGLIBC_OPTION_EGLIBC_LOCALE_CODE disabled,
          EGLIBC supports only the 'C' locale (also known as 'POSIX'),
          and ignores the settings of the 'LANG' and 'LC_*' environment
          variables.
 
-         With EGLIBC_OPTION_LOCALE_CODE disabled, the following
+         With EGLIBC_OPTION_EGLIBC_LOCALE_CODE disabled, the following
          functions are omitted from libc:
 
                duplocale   localeconv  nl_langinfo    rpmatch  strfmon_l
@@ -449,9 +511,30 @@ config EGLIBC_OPTION_EGLIBC_LOCALE_CODE
          disable EGLIBC_OPTION_EGLIBC_CATGETS.
 
 
+config EGLIBC_OPTION_EGLIBC_MEMUSAGE
+       bool "Memory profiling library"
+       default y
+       help
+         This option group includes the `libmemusage' library and
+         the `memusage' and `memusagestat' utilities.
+         These components provide memory profiling functions.
+
+         EGLIBC_OPTION_EGLIBC_MEMUSAGE_DEFAULT_BUFFER_SIZE
+
+         Libmemusage library buffers the profiling data in memory
+         before writing it out to disk.  By default, the library
+         allocates 1.5M buffer, which can be substantial for some
+         systems.  EGLIBC_OPTION_EGLIBC_MEMUSAGE_DEFAULT_BUFFER_SIZE option
+         allows to change the default buffer size.  It specifies
+         the number of entries the buffer should have.
+         On most architectures one buffer entry amounts to 48 bytes,
+         so setting this option to the value of 512 will reduce the size of
+         the memory buffer to 24K.
+
+
 config EGLIBC_OPTION_EGLIBC_NIS
        bool "Support for NIS, NIS+, and the special 'compat' services."
-       default y
+       default n
        select EGLIBC_OPTION_EGLIBC_INET
        select EGLIBC_OPTION_EGLIBC_SUNRPC
        help
@@ -467,6 +550,7 @@ config EGLIBC_OPTION_EGLIBC_NIS
 config EGLIBC_OPTION_EGLIBC_NSSWITCH
        bool "Name service switch (nsswitch) support"
        default y
+       select EGLIBC_OPTION_EGLIBC_INET
        help
 
          This option group includes support for the 'nsswitch' facility.
@@ -537,7 +621,7 @@ config EGLIBC_OPTION_EGLIBC_NSSWITCH
          system actually uses.
 
          Note that some nsswitch service libraries require other option
-         groups to be enabled; for example, the EGLIBC_INET
+         groups to be enabled; for example, the EGLIBC_OPTION_EGLIBC_INET
          option group must be enabled to use the 'libnss_dns.so.2'
          service library, which uses the Domain Name System network
          protocol to answer queries.
@@ -563,6 +647,19 @@ config EGLIBC_OPTION_EGLIBC_RCMD
                rresvport_af
 
 
+config EGLIBC_OPTION_EGLIBC_RTLD_DEBUG
+       bool "Runtime linker debug print outs"
+       default y
+       help
+         This option group enables debug output of the runtime linker
+         which is activated via LD_DEBUG and LD_TRACE_PRELINKING
+         environment variables.  Disabling this option group yields
+         a smaller runtime linker binary.
+         BEWARE: Disabling this option group is likely to break
+         the `ldd' utility which may also be used by the prelinker.
+         In particular, the `--unused' ldd option will not work correctly.
+
+
 config EGLIBC_OPTION_EGLIBC_SPAWN
        bool "Support for POSIX posix_spawn functions"
        default y
@@ -621,7 +718,7 @@ config EGLIBC_OPTION_EGLIBC_STREAMS
 
 config EGLIBC_OPTION_EGLIBC_SUNRPC
        bool "Support for the Sun 'RPC' protocol."
-       default y
+       default n
        select EGLIBC_OPTION_EGLIBC_INET
        help
          This option group includes support for the Sun RPC protocols,
@@ -694,7 +791,6 @@ 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
-       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
@@ -749,7 +845,6 @@ config EGLIBC_OPTION_POSIX_REGEXP
 config EGLIBC_OPTION_POSIX_REGEXP_GLIBC
        bool "Regular expressions from GLIBC"
        default y
-       depends EGLIBC_VERSION_2_10
        select EGLIBC_OPTION_POSIX_REGEXP
        help
          This option group specifies which regular expression
@@ -763,7 +858,7 @@ config EGLIBC_OPTION_POSIX_REGEXP_GLIBC
 config EGLIBC_OPTION_POSIX_WIDE_CHAR_DEVICE_IO
        bool "Input and output functions for wide characters"
        default y
-       select EGLIBC_OPTION_POSIX_C_LANG_WIDE_CHAR if EGLIBC_VERSION_2_8 || EGLIBC_VERSION_2_9 || EGLIBC_VERSION_2_10
+       select EGLIBC_OPTION_POSIX_C_LANG_WIDE_CHAR
        help
          This option group includes functions for reading and writing
          wide characters to and from <stdio.h> streams.