From 548c2c5b15e5302bab10578d8933262ac0483296 Mon Sep 17 00:00:00 2001
From: Carmelo Amoroso <carmelo.amoroso@st.com>
Date: Fri, 20 Feb 2009 14:37:43 +0000
Subject: Linuxthreads_old and NPTL must be mutually exclusive.

TLS support cannot be enabled when using Linuxthreads_old
(at least until Linuxthreads and Linuxthreads_old will not
me merged togheter)

Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
---
 extra/Configs/Config.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'extra')

diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in
index d5742e341..b4d5fce09 100644
--- a/extra/Configs/Config.in
+++ b/extra/Configs/Config.in
@@ -374,7 +374,7 @@ config UCLIBC_HAS_THREADS
 
 config UCLIBC_HAS_TLS
 	bool "Thread-Local Storage"
-	depends on UCLIBC_HAS_THREADS
+	depends on UCLIBC_HAS_THREADS && !LINUXTHREADS_OLD
 	default n
 	help
 	  If you want to enable TLS support then answer Y.
@@ -402,7 +402,7 @@ config PTHREADS_DEBUG_SUPPORT
 config LINUXTHREADS_OLD
 	bool "Use the older (stable) version of linuxthreads"
 	default y
-	depends on UCLIBC_HAS_THREADS
+	depends on UCLIBC_HAS_THREADS && !UCLIBC_HAS_THREADS_NATIVE
 	help
 	  There are two versions of linuxthreads.  The older (stable) version
 	  has been in uClibc for quite a long time but hasn't seen too many
-- 
cgit v1.2.3