aboutsummaryrefslogtreecommitdiff
path: root/gcc/config.gcc
diff options
context:
space:
mode:
authorNathanael Nerode <neroden@gcc.gnu.org>2003-10-08 21:32:50 +0000
committerNathanael Nerode <neroden@gcc.gnu.org>2003-10-08 21:32:50 +0000
commit769e49eb03b412604d9909b9e9c8ab4a87703dd1 (patch)
tree99b1803cdc1cea5aaa1bcc9a010c4f34994ad559 /gcc/config.gcc
parent731a8127dbb6a297ca1579df45ca25db95fe737d (diff)
downloadgcc-769e49eb03b412604d9909b9e9c8ab4a87703dd1.zip
gcc-769e49eb03b412604d9909b9e9c8ab4a87703dd1.tar.gz
gcc-769e49eb03b412604d9909b9e9c8ab4a87703dd1.tar.bz2
config.gcc: Don't accept --enable-threads=pthreads.
* config.gcc: Don't accept --enable-threads=pthreads. Clean up related case statements. * configure.in: Don't accept --enable-threads=pthreads, decosf1, mach, or os2 (none of which work anyway). Alphabetize supported thread files in case clause. * configure: Regenerate. From-SVN: r72244
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r--gcc/config.gcc22
1 files changed, 11 insertions, 11 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc
index f58e854..1a13e1c 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -381,7 +381,7 @@ case ${target} in
no)
fbsd_tm_file="${fbsd_tm_file} freebsd-nthr.h"
;;
- "" | yes | pthreads | posix)
+ "" | yes | posix)
thread_file='posix'
tmake_file="${tmake_file} t-freebsd-thread"
# Before 5.0, FreeBSD can't bind shared libraries to -lc
@@ -567,8 +567,8 @@ alpha*-dec-osf[45]*)
target_cpu_default=MASK_SUPPORT_ARCH
;;
esac
- case x${enable_threads} in
- x | xyes | xpthreads | xposix)
+ case ${enable_threads} in
+ "" | yes | posix)
thread_file='posix'
tmake_file="${tmake_file} alpha/t-osf-pthread"
;;
@@ -620,10 +620,10 @@ arm*-*-linux*) # ARM GNU/Linux with ELF
tmake_file="t-slibgcc-elf-ver t-linux arm/t-linux"
extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
gnu_ld=yes
- case x${enable_threads} in
- x | xyes | xpthreads | xposix)
- thread_file='posix'
- ;;
+ case ${enable_threads} in
+ "" | yes | posix)
+ thread_file='posix'
+ ;;
esac
;;
arm*-*-uclinux*) # ARM ucLinux
@@ -1609,10 +1609,10 @@ powerpc-*-netbsd*)
powerpc-*-chorusos*)
tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h chorus.h"
tmake_file="rs6000/t-fprules rs6000/t-ppcos rs6000/t-ppccomm"
- case x${enable_threads} in
- xyes | xpthreads | xposix)
- thread_file='posix'
- ;;
+ case ${enable_threads} in
+ yes | posix)
+ thread_file='posix'
+ ;;
esac
use_fixproto=yes
;;