config/libc/uClibc.in.2
changeset 2069 366bd2b22675
parent 2009 7e19c1de65cd
child 2484 d1a8c2ae7946
     1.1 --- a/config/libc/uClibc.in.2	Sat Jul 03 01:15:28 2010 +0200
     1.2 +++ b/config/libc/uClibc.in.2	Thu Aug 05 17:59:51 2010 +0200
     1.3 @@ -36,3 +36,34 @@
     1.4      default ""      if THREADS_NPTL
     1.5      default "old"   if LIBC_UCLIBC_LNXTHRD_OLD
     1.6      default "new"   if LIBC_UCLIBC_LNXTHRD_NEW
     1.7 +
     1.8 +config LIBC_UCLIBC_LOCALES
     1.9 +    bool
    1.10 +    select LIBC_UCLIBC_WCHAR
    1.11 +    prompt "Add support for locales"
    1.12 +    default n
    1.13 +    help
    1.14 +      Say y if you want uClibc to support localisation.
    1.15 +
    1.16 +      Note that seems to be broken on recent uClibc releases.
    1.17 +
    1.18 +config LIBC_UCLIBC_LOCALES_PREGEN_DATA
    1.19 +    bool
    1.20 +    prompt "Use pregen locales"
    1.21 +    depends on LIBC_UCLIBC_LOCALES
    1.22 +    default y
    1.23 +    help
    1.24 +      If you see issues with using pre-generated locales data,
    1.25 +      you can try switching this off.
    1.26 +
    1.27 +      If so, please report the issue, so we can default this
    1.28 +      to off if too many people complain.
    1.29 +
    1.30 +config LIBC_UCLIBC_WCHAR
    1.31 +    bool
    1.32 +    prompt "Add support for WCHAR"
    1.33 +    default n
    1.34 +    help
    1.35 +      Say y if you want uClibc to support WCHAR.
    1.36 +
    1.37 +      Maybe this is needed, if you're building a C++-Compiler