Commit 609a87f3 by Jakub Jelinek Committed by Jakub Jelinek

config.gcc (*-*-linux*): Default to --enable-threads=posix if no…

config.gcc (*-*-linux*): Default to --enable-threads=posix if no --{enable,disable}-threads is given to...

	* config.gcc (*-*-linux*): Default to --enable-threads=posix if no
	--{enable,disable}-threads is given to configure.
	(alpha*-*-linux*, hppa*-*-linux*, i[34567]86-*-linux*,
	x86_64-*-linux*, ia64*-*-linux*, m68k-*-linux*, mips*-*-linux*,
	powerpc-*-linux-gnualtivec*, powerpc-*-linux*, s390-*-linux*,
	s390x-*-linux*, sh-*-linux*, sparc-*-linux*, sparc64-*-linux*):
	Remove thread_file setting here.

From-SVN: r56071
parent ff4c5e7b
2002-08-06 Jakub Jelinek <jakub@redhat.com>
* config.gcc (*-*-linux*): Default to --enable-threads=posix if no
--{enable,disable}-threads is given to configure.
(alpha*-*-linux*, hppa*-*-linux*, i[34567]86-*-linux*,
x86_64-*-linux*, ia64*-*-linux*, m68k-*-linux*, mips*-*-linux*,
powerpc-*-linux-gnualtivec*, powerpc-*-linux*, s390-*-linux*,
s390x-*-linux*, sh-*-linux*, sparc-*-linux*, sparc64-*-linux*):
Remove thread_file setting here.
2002-08-06 David Edelsohn <edelsohn@gnu.org> 2002-08-06 David Edelsohn <edelsohn@gnu.org>
* doc/install.texi (Binaries): Update Bull Freeware URL. * doc/install.texi (Binaries): Update Bull Freeware URL.
......
...@@ -320,6 +320,16 @@ esac ...@@ -320,6 +320,16 @@ esac
case $machine in case $machine in
*-*-linux*) *-*-linux*)
xm_defines=POSIX xm_defines=POSIX
case $machine in
*-*-linux*ecoff* | *-*-linux*libc1* | *-*-linux*oldld* | *-*-linux*aout*)
;;
*)
case x${enable_threads} in
x | xyes | xposix) thread_file='posix'
;;
esac
;;
esac
;; ;;
*-*-gnu*) *-*-gnu*)
# On the Hurd, the setup is just about the same on # On the Hurd, the setup is just about the same on
...@@ -480,9 +490,6 @@ alpha*-*-linux*) ...@@ -480,9 +490,6 @@ alpha*-*-linux*)
tmake_file="t-slibgcc-elf-ver t-linux alpha/t-crtfm alpha/t-alpha alpha/t-ieee" tmake_file="t-slibgcc-elf-ver t-linux alpha/t-crtfm alpha/t-alpha alpha/t-ieee"
extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o" extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o"
gas=yes gnu_ld=yes gas=yes gnu_ld=yes
if test x$enable_threads = xyes; then
thread_file='posix'
fi
;; ;;
alpha*-*-gnu*) alpha*-*-gnu*)
target_cpu_default="MASK_GAS" target_cpu_default="MASK_GAS"
...@@ -752,9 +759,6 @@ hppa*-*-linux* | parisc*-*-linux*) ...@@ -752,9 +759,6 @@ hppa*-*-linux* | parisc*-*-linux*)
tmake_file="t-slibgcc-elf-ver t-linux pa/t-linux" tmake_file="t-slibgcc-elf-ver t-linux pa/t-linux"
extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o" extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o"
gas=yes gnu_ld=yes gas=yes gnu_ld=yes
if test x$enable_threads = xyes; then
thread_file='posix'
fi
;; ;;
hppa*-*-openbsd*) hppa*-*-openbsd*)
target_cpu_default="MASK_PA_11" target_cpu_default="MASK_PA_11"
...@@ -998,9 +1002,6 @@ i370-*-linux*) ...@@ -998,9 +1002,6 @@ i370-*-linux*)
gnu_ld=yes gnu_ld=yes
gas=yes gas=yes
elf=yes elf=yes
if test x$enable_threads = xyes; then
thread_file='posix'
fi
;; ;;
i[34567]86-*-darwin*) i[34567]86-*-darwin*)
tm_file="${tm_file} darwin.h i386/darwin.h" tm_file="${tm_file} darwin.h i386/darwin.h"
...@@ -1126,9 +1127,6 @@ i[34567]86-*-linux*) # Intel 80386's running GNU/Linux ...@@ -1126,9 +1127,6 @@ i[34567]86-*-linux*) # Intel 80386's running GNU/Linux
extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o" extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o"
gnu_ld=yes gnu_ld=yes
float_format=i386 float_format=i386
if test x$enable_threads = xyes; then
thread_file='posix'
fi
;; ;;
x86_64-*-linux*) x86_64-*-linux*)
tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h linux.h \ tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h linux.h \
...@@ -1137,9 +1135,6 @@ x86_64-*-linux*) ...@@ -1137,9 +1135,6 @@ x86_64-*-linux*)
extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o" extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o"
gnu_ld=yes gnu_ld=yes
float_format=i386 float_format=i386
if test x$enable_threads = xyes; then
thread_file='posix'
fi
;; ;;
i[34567]86-*-gnu*) i[34567]86-*-gnu*)
float_format=i386 float_format=i386
...@@ -1440,9 +1435,6 @@ ia64*-*-linux*) ...@@ -1440,9 +1435,6 @@ ia64*-*-linux*)
tm_file="${tm_file} dbxelf.h elfos.h svr4.h linux.h ia64/sysv4.h ia64/linux.h" tm_file="${tm_file} dbxelf.h elfos.h svr4.h linux.h ia64/sysv4.h ia64/linux.h"
tmake_file="t-slibgcc-elf-ver t-linux ia64/t-ia64 ia64/t-glibc" tmake_file="t-slibgcc-elf-ver t-linux ia64/t-ia64 ia64/t-glibc"
target_cpu_default="MASK_GNU_AS|MASK_GNU_LD" target_cpu_default="MASK_GNU_AS|MASK_GNU_LD"
if test x$enable_threads = xyes; then
thread_file='posix'
fi
float_format=i386 float_format=i386
;; ;;
ia64*-*-hpux*) ia64*-*-hpux*)
...@@ -1719,9 +1711,6 @@ m68k-*-linux*) # Motorola m68k's running GNU/Linux ...@@ -1719,9 +1711,6 @@ m68k-*-linux*) # Motorola m68k's running GNU/Linux
extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o" extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
float_format=m68k float_format=m68k
gnu_ld=yes gnu_ld=yes
if test x$enable_threads = xyes; then
thread_file='posix'
fi
;; ;;
m68k-*-psos*) m68k-*-psos*)
tmake_file=m68k/t-m68kbare tmake_file=m68k/t-m68kbare
...@@ -1881,9 +1870,6 @@ mips*-*-linux*) # Linux MIPS, either endian. ...@@ -1881,9 +1870,6 @@ mips*-*-linux*) # Linux MIPS, either endian.
extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o" extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o"
gnu_ld=yes gnu_ld=yes
gas=yes gas=yes
if test x$enable_threads = xyes; then
thread_file='posix'
fi
;; ;;
mips*el-*-openbsd*) # mips little endian mips*el-*-openbsd*) # mips little endian
target_cpu_default="MASK_GAS|MASK_ABICALLS" target_cpu_default="MASK_GAS|MASK_ABICALLS"
...@@ -2108,17 +2094,11 @@ powerpc-*-linux-gnualtivec*) ...@@ -2108,17 +2094,11 @@ powerpc-*-linux-gnualtivec*)
tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/linux.h rs6000/linuxaltivec.h" tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/linux.h rs6000/linuxaltivec.h"
out_file=rs6000/rs6000.c out_file=rs6000/rs6000.c
tmake_file="rs6000/t-ppcos t-slibgcc-elf-ver t-linux rs6000/t-ppccomm" tmake_file="rs6000/t-ppcos t-slibgcc-elf-ver t-linux rs6000/t-ppccomm"
if test x$enable_threads = xyes; then
thread_file='posix'
fi
;; ;;
powerpc-*-linux*) powerpc-*-linux*)
tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/linux.h" tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/linux.h"
out_file=rs6000/rs6000.c out_file=rs6000/rs6000.c
tmake_file="rs6000/t-ppcos t-slibgcc-elf-ver t-linux rs6000/t-ppccomm" tmake_file="rs6000/t-ppcos t-slibgcc-elf-ver t-linux rs6000/t-ppccomm"
if test x$enable_threads = xyes; then
thread_file='posix'
fi
;; ;;
powerpc-*-gnu-gnualtivec*) powerpc-*-gnu-gnualtivec*)
tm_file="${cpu_type}/${cpu_type}.h elfos.h svr4.h freebsd-spec.h gnu.h rs6000/sysv4.h rs6000/linux.h rs6000/linuxaltivec.h rs6000/gnu.h" tm_file="${cpu_type}/${cpu_type}.h elfos.h svr4.h freebsd-spec.h gnu.h rs6000/sysv4.h rs6000/linux.h rs6000/linuxaltivec.h rs6000/gnu.h"
...@@ -2240,9 +2220,6 @@ s390-*-linux*) ...@@ -2240,9 +2220,6 @@ s390-*-linux*)
tm_file="s390/s390.h dbxelf.h elfos.h svr4.h linux.h s390/linux.h" tm_file="s390/s390.h dbxelf.h elfos.h svr4.h linux.h s390/linux.h"
tmake_file="t-slibgcc-elf-ver t-linux s390/t-linux" tmake_file="t-slibgcc-elf-ver t-linux s390/t-linux"
extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o" extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o"
if test x$enable_threads = xyes; then
thread_file='posix'
fi
;; ;;
s390x-*-linux*) s390x-*-linux*)
tm_file="s390/s390x.h s390/s390.h dbxelf.h elfos.h svr4.h linux.h s390/linux.h" tm_file="s390/s390x.h s390/s390.h dbxelf.h elfos.h svr4.h linux.h s390/linux.h"
...@@ -2252,9 +2229,6 @@ s390x-*-linux*) ...@@ -2252,9 +2229,6 @@ s390x-*-linux*)
out_file=s390/s390.c out_file=s390/s390.c
tmake_file="t-slibgcc-elf-ver t-linux s390/t-linux s390/t-linux64" tmake_file="t-slibgcc-elf-ver t-linux s390/t-linux s390/t-linux64"
extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o" extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o"
if test x$enable_threads = xyes; then
thread_file='posix'
fi
;; ;;
sh-*-elf* | sh[2346l]*-*-elf*) sh-*-elf* | sh[2346l]*-*-elf*)
tmake_file="sh/t-sh sh/t-elf" tmake_file="sh/t-sh sh/t-elf"
...@@ -2311,9 +2285,6 @@ sh-*-linux* | sh[2346lbe]*-*-linux*) ...@@ -2311,9 +2285,6 @@ sh-*-linux* | sh[2346lbe]*-*-linux*)
esac esac
tm_file="${tm_file} dbxelf.h elfos.h svr4.h sh/elf.h sh/linux.h" tm_file="${tm_file} dbxelf.h elfos.h svr4.h sh/elf.h sh/linux.h"
gas=yes gnu_ld=yes gas=yes gnu_ld=yes
if test x$enable_threads = xyes; then
thread_file='posix'
fi
float_format=sh float_format=sh
case $machine in case $machine in
sh64*) sh64*)
...@@ -2447,9 +2418,6 @@ sparc-*-linux*) # Sparc's running GNU/Linux, libc6 ...@@ -2447,9 +2418,6 @@ sparc-*-linux*) # Sparc's running GNU/Linux, libc6
tmake_file="t-slibgcc-elf-ver t-linux sparc/t-crtfm" tmake_file="t-slibgcc-elf-ver t-linux sparc/t-crtfm"
extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o" extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o"
gnu_ld=yes gnu_ld=yes
if test x$enable_threads = xyes; then
thread_file='posix'
fi
float_format=sparc float_format=sparc
;; ;;
sparc-*-lynxos*) sparc-*-lynxos*)
...@@ -2642,9 +2610,6 @@ sparc64-*-linux*) # 64-bit Sparc's running GNU/Linux ...@@ -2642,9 +2610,6 @@ sparc64-*-linux*) # 64-bit Sparc's running GNU/Linux
tm_file="sparc/biarch64.h ${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sparc/linux64.h" tm_file="sparc/biarch64.h ${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sparc/linux64.h"
extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o" extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o"
gnu_ld=yes gnu_ld=yes
if test x$enable_threads = xyes; then
thread_file='posix'
fi
float_format=sparc float_format=sparc
;; ;;
sparc64-*-netbsd*) sparc64-*-netbsd*)
...@@ -2776,9 +2741,6 @@ xtensa-*-linux*) ...@@ -2776,9 +2741,6 @@ xtensa-*-linux*)
tmake_file="t-linux xtensa/t-xtensa" tmake_file="t-linux xtensa/t-xtensa"
extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o" extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o"
gas=yes gnu_ld=yes gas=yes gnu_ld=yes
if test x$enable_threads = xyes; then
thread_file='posix'
fi
;; ;;
*) *)
echo "*** Configuration $machine not supported" 1>&2 echo "*** Configuration $machine not supported" 1>&2
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment