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
This commit is contained in:
Nathanael Nerode 2003-10-08 21:32:50 +00:00
parent 731a8127db
commit 769e49eb03
4 changed files with 24 additions and 15 deletions

View File

@ -1,3 +1,12 @@
2003-10-08 Nathanael Nerode <neroden@gcc.gnu.org>
* 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.
2003-10-08 Geoffrey Keating <geoffk@apple.com>
* function.c (pad_to_arg_alignment): Move 'boundary_in_bytes'

View File

@ -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
;;

4
gcc/configure vendored
View File

@ -5248,8 +5248,8 @@ case ${enable_threads_flag} in
# default
target_thread_file='single'
;;
decosf1 | irix | mach | os2 | posix | pthreads | single | \
solaris | win32 | dce | rtems| vxworks | aix | gnat)
aix | dce | gnat | irix | posix | rtems | \
single | solaris | vxworks | win32 )
target_thread_file=${enable_threads_flag}
;;
*)

View File

@ -1070,8 +1070,8 @@ case ${enable_threads_flag} in
# default
target_thread_file='single'
;;
decosf1 | irix | mach | os2 | posix | pthreads | single | \
solaris | win32 | dce | rtems| vxworks | aix | gnat)
aix | dce | gnat | irix | posix | rtems | \
single | solaris | vxworks | win32 )
target_thread_file=${enable_threads_flag}
;;
*)