diff options
Diffstat (limited to 'config/libc.in')
-rw-r--r-- | config/libc.in | 37 |
1 files changed, 21 insertions, 16 deletions
diff --git a/config/libc.in b/config/libc.in index 03f5db2e..240a01ef 100644 --- a/config/libc.in +++ b/config/libc.in @@ -24,15 +24,15 @@ source "config.gen/libc.in" config LIBC_SUPPORT_THREADS_ANY bool -config LIBC_SUPPORT_NPTL +config LIBC_SUPPORT_THREADS_NATIVE bool select LIBC_SUPPORT_THREADS_ANY -config LIBC_SUPPORT_LINUXTHREADS +config LIBC_SUPPORT_THREADS_LT bool select LIBC_SUPPORT_THREADS_ANY -config LIBC_SUPPORT_WIN32THREADS +config LIBC_SUPPORT_THREADS_WIN32 bool select LIBC_SUPPORT_THREADS_ANY @@ -41,9 +41,9 @@ config LIBC_SUPPORT_THREADS_NONE config THREADS string - default "nptl" if THREADS_NPTL - default "linuxthreads" if THREADS_LINUXTHREADS - default "win32" if THREADS_WIN32THREADS + default "nptl" if THREADS_NATIVE + default "linuxthreads" if THREADS_LT + default "win32" if THREADS_WIN32 default "none" if THREADS_NONE || LIBC_none # No C library, no threads! @@ -54,25 +54,30 @@ comment "Common C library options" choice bool prompt "Threading implementation to use:" - default THREADS_NPTL if LIBC_SUPPORT_NPTL - default THREADS_LINUXTHREADS if LIBC_SUPPORT_LINUXTHREADS && ! LIBC_SUPPORT_NPTL - default THREADS_WIN32 if LIBC_SUPPORT_WIN32THREADS + default THREADS_NATIVE if LIBC_SUPPORT_THREADS_NATIVE + default THREADS_THREADS_LT if LIBC_SUPPORT_THREADS_LT && ! LIBC_SUPPORT_THREADS_NATIVE + default THREADS_WIN32 if LIBC_SUPPORT_THREADS_WIN32 default THREADS_NONE if ! LIBC_SUPPORT_THREADS_ANY -config THREADS_NPTL +config THREADS_NATIVE bool - prompt "nptl" - depends on LIBC_SUPPORT_NPTL + prompt "native" + depends on LIBC_SUPPORT_THREADS_NATIVE + help + This selects the native threads implementation for the selected + system and C library. + + For example, on Linux with glibc, this is NPTL. -config THREADS_LINUXTHREADS +config THREADS_LT bool prompt "linuxthreads" - depends on LIBC_SUPPORT_LINUXTHREADS + depends on LIBC_SUPPORT_THREADS_LT -config THREADS_WIN32THREADS +config THREADS_WIN32 bool prompt "win32" - depends on LIBC_SUPPORT_WIN32THREADS + depends on LIBC_SUPPORT_THREADS_WIN32 config THREADS_NONE bool |