summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2010-07-11 12:26:52 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2010-07-11 12:26:52 (GMT)
commit7707f0fb542406fbfe8b1cf6f80ba488a135314a (patch)
treeae841bc432c3d8341f490796c417affed3b9ef3c /config
parentdf541a321eff81c6830ecfc5ed74b854cac16b9d (diff)
libc: add global threads support option
Diffstat (limited to 'config')
-rw-r--r--config/libc.in8
1 files changed, 7 insertions, 1 deletions
diff --git a/config/libc.in b/config/libc.in
index 74bdd1a..58bc320 100644
--- a/config/libc.in
+++ b/config/libc.in
@@ -21,13 +21,19 @@ config LIBC_VERSION
source "config.gen/libc.in"
+config LIBC_SUPPORT_THREADS_ANY
+ bool
+ default n
+
config LIBC_SUPPORT_NPTL
bool
default n
+ select LIBC_SUPPORT_THREADS_ANY
config LIBC_SUPPORT_LINUXTHREADS
bool
default n
+ select LIBC_SUPPORT_THREADS_ANY
config THREADS
string
@@ -45,7 +51,7 @@ choice
prompt "Threading implementation to use:"
default THREADS_NPTL if LIBC_SUPPORT_NPTL
default THREADS_LINUXTHREADS if LIBC_SUPPORT_LINUXTHREADS && ! LIBC_SUPPORT_NPTL
- default THREADS_NONE if ! LIBC_SUPPORT_LINUXTHREADS && ! LIBC_SUPPORT_NPTL
+ default THREADS_NONE if ! LIBC_SUPPORT_THREADS_ANY
config THREADS_NPTL
bool