config.gcc: Don't accept --enable-threads=pthreads.
authorNathanael Nerode <neroden@gcc.gnu.org>
Wed, 8 Oct 2003 21:32:50 +0000 (21:32 +0000)
committerNathanael Nerode <neroden@gcc.gnu.org>
Wed, 8 Oct 2003 21:32:50 +0000 (21:32 +0000)
* 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

gcc/ChangeLog
gcc/config.gcc
gcc/configure
gcc/configure.in

index 544f37472cba45edf5b6f922fb023bd48204fdf5..2139eab2de8fd9913730843a7d355aaf8b79daa2 100644 (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'
index f58e854c2826af7a8577cca889700221da68693f..1a13e1c7f78b873119dcfed4a9cfdc1c6c0725f7 100644 (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
        ;;
index 214c0fc799c32a279019739f188836c0b56a5c10..ce98920a719a6a62b8f0a9ee23c75ec4e67421f1 100755 (executable)
@@ -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}
     ;;
   *)
index a08f1317b31a7d9a6494d8175ca7909bccdac36c..b57aff2006ce64c02ab10675d224f9ead6cc706e 100644 (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}
     ;;
   *)