diff -r aa1a9fbd6eb8 -r 27a0abfd46d1 config/toolchain.in --- a/config/toolchain.in Thu May 17 16:22:51 2007 +0000 +++ b/config/toolchain.in Tue May 29 19:30:38 2007 +0000 @@ -22,6 +22,35 @@ You might not want shared librries if you're building for a target that don't support it (maybe some nommu targets, for example, or bare metal). +choice + bool + prompt "Threading implentation 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 + +config THREADS_NPTL + bool + prompt "nptl" + depends on LIBC_SUPPORT_NPTL + +config THREADS_LINUXTHREADS + bool + prompt "linuxthreads" + depends on LIBC_SUPPORT_LINUXTHREADS + +config THREADS_NONE + bool + prompt "none" + +endchoice + +config THREADS + string + default "nptl" if THREADS_NPTL + default "linuxthreads" if THREADS_LINUXTHREADS + default "none" if THREADS_NONE + config TARGET_MULTILIB bool # prompt "Enable 'multilib' support (EXPERIMENTAL)"