Commit e800dd2f authored by zack's avatar zack
Browse files

top level:

	* configure: Make enable_threads and enable_shared defaults
	explicit.  Substitute enable_threads into generated Makefiles.
	* configure.in: Accept *-*-linux* not just *-*-linux-gnu*.
	* libtool.m4: Accept *-*-linux* not just *-*-linux-gnu*.
gcc:
	* configure.in: Accept *-*-linux* not just *-*-linux-gnu*.
	* fixinc/inclhack.def: Likewise.
	* fixinc/mkfixinc.sh: Likewise.
	* configure: Regenerate.
	* fixinc/fixincl.x: Regenerate.
	* install.texi: Document equivalence of linux and linux-gnu.
libio:
	* configure.in: Accept *-*-linux* not just *-*-linux-gnu*.
	Honor --disable-threads.
libstdc++:
	* configure.in: Accept *-*-linux* not just *-*-linux-gnu*.
	Honor --disable-threads.
libstdc++-v3:
	* configure: Regenerate after change to ../libtool.m4.
libobjc:
	* configure: Regenerate after change to ../libtool.m4.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35680 138bc75d-0d04-0410-961f-82ee72b054a4
parent 6c1128fe
2000-08-14 Zack Weinberg <zack@wolery.cumb.org>
* configure: Make enable_threads and enable_shared defaults
explicit. Substitute enable_threads into generated Makefiles.
* configure.in: Accept *-*-linux* not just *-*-linux-gnu*.
* libtool.m4: Accept *-*-linux* not just *-*-linux-gnu*.
2000-08-13 Geoff Keating <geoffk@cygnus.com> 2000-08-13 Geoff Keating <geoffk@cygnus.com>
* Makefile.in (GCC_FOR_TARGET): Also add -B$$r/gcc/ here. * Makefile.in (GCC_FOR_TARGET): Also add -B$$r/gcc/ here.
......
...@@ -53,6 +53,8 @@ cache_file_option= ...@@ -53,6 +53,8 @@ cache_file_option=
configdirs= configdirs=
extraconfigdirs= extraconfigdirs=
diroptions= diroptions=
enable_threads=no
enable_shared=no
exec_prefix= exec_prefix=
exec_prefixoption= exec_prefixoption=
fatal= fatal=
...@@ -86,7 +88,7 @@ subdirs= ...@@ -86,7 +88,7 @@ subdirs=
target_alias=NOTARGET target_alias=NOTARGET
target_makefile_frag= target_makefile_frag=
undefs=NOUNDEFS undefs=NOUNDEFS
version="$Revision: 1.26 $" version="$Revision: 1.27 $"
x11=default x11=default
bindir='${exec_prefix}/bin' bindir='${exec_prefix}/bin'
sbindir='${exec_prefix}/sbin' sbindir='${exec_prefix}/sbin'
...@@ -1335,12 +1337,8 @@ EOF ...@@ -1335,12 +1337,8 @@ EOF
echo site_makefile_frag = ${invsubdir}${site_makefile_frag} >>${Makefile} echo site_makefile_frag = ${invsubdir}${site_makefile_frag} >>${Makefile}
fi fi
# record if we want to build shared libs.
if test -z "${enable_shared}"; then
echo enable_shared = no >> ${Makefile}
else
echo enable_shared = ${enable_shared} >> ${Makefile} echo enable_shared = ${enable_shared} >> ${Makefile}
fi echo enable_threads = ${enable_threads} >> ${Makefile}
# record if we want to rumtime library stuff installed in libsubdir. # record if we want to rumtime library stuff installed in libsubdir.
if test -z "${enable_version_specific_runtime_libs}"; then if test -z "${enable_version_specific_runtime_libs}"; then
echo enable_version_specific_runtime_libs = no >> ${Makefile} echo enable_version_specific_runtime_libs = no >> ${Makefile}
......
...@@ -352,7 +352,7 @@ case "${target}" in ...@@ -352,7 +352,7 @@ case "${target}" in
powerpc-*-netware*) powerpc-*-netware*)
target_makefile_frag="${target_makefile_frag} config/mt-netware" target_makefile_frag="${target_makefile_frag} config/mt-netware"
;; ;;
*-*-linux-gnu*) *-*-linux*)
target_makefile_frag="${target_makefile_frag} config/mt-linux" target_makefile_frag="${target_makefile_frag} config/mt-linux"
;; ;;
*-*-aix4.[3456789]* | *-*-aix[56789].*) *-*-aix4.[3456789]* | *-*-aix[56789].*)
...@@ -684,7 +684,7 @@ case "${target}" in ...@@ -684,7 +684,7 @@ case "${target}" in
noconfigdirs="$noconfigdirs target-libg++ ${libstdcxx_version} target-librx target-libgloss target-libffi" noconfigdirs="$noconfigdirs target-libg++ ${libstdcxx_version} target-librx target-libgloss target-libffi"
;; ;;
hppa*-*-*elf* | \ hppa*-*-*elf* | \
hppa*-*-linux-gnu* | \ hppa*-*-linux* | \
hppa*-*-lites* | \ hppa*-*-lites* | \
hppa*64*-*-*) hppa*64*-*-*)
# Do configure ld/binutils/gas for this case. # Do configure ld/binutils/gas for this case.
......
2000-08-14 Zack Weinberg <zack@wolery.cumb.org>
* configure.in: Accept *-*-linux* not just *-*-linux-gnu*.
* fixinc/inclhack.def: Likewise.
* fixinc/mkfixinc.sh: Likewise.
* configure: Regenerate.
* fixinc/fixincl.x: Regenerate.
* install.texi: Document equivalence of linux and linux-gnu.
Mon Aug 14 18:51:44 2000 J"orn Rennecke <amylaar@cygnus.co.uk> Mon Aug 14 18:51:44 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
* cse.c (insert_regs): Also in REG case: When finding an invalid * cse.c (insert_regs): Also in REG case: When finding an invalid
......
...@@ -1484,7 +1484,7 @@ for ac_kw in inline __inline__ __inline; do ...@@ -1484,7 +1484,7 @@ for ac_kw in inline __inline__ __inline; do
#include "confdefs.h" #include "confdefs.h"
int main() { int main() {
} $ac_kw foo() { } int $ac_kw foo() {
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:1491: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:1491: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
...@@ -1514,7 +1514,7 @@ esac ...@@ -1514,7 +1514,7 @@ esac
# Find some useful tools # Find some useful tools
for ac_prog in gawk mawk nawk awk for ac_prog in mawk gawk nawk awk
do do
# Extract the first word of "$ac_prog", so it can be a program name with args. # Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2 set dummy $ac_prog; ac_word=$2
...@@ -3754,9 +3754,9 @@ for machine in $build $host $target; do ...@@ -3754,9 +3754,9 @@ for machine in $build $host $target; do
;; ;;
esac esac
# Common parts for linux-gnu and openbsd systems # Common parts for linux and openbsd systems
case $machine in case $machine in
*-*-linux-gnu*) *-*-linux*)
xm_defines="HAVE_ATEXIT POSIX BSTRING" xm_defines="HAVE_ATEXIT POSIX BSTRING"
;; ;;
*-*-openbsd*) *-*-openbsd*)
...@@ -3831,7 +3831,7 @@ for machine in $build $host $target; do ...@@ -3831,7 +3831,7 @@ for machine in $build $host $target; do
#prefix='$$INTERIX_ROOT'/usr/contrib #prefix='$$INTERIX_ROOT'/usr/contrib
#local_prefix='$$INTERIX_ROOT'/usr/contrib #local_prefix='$$INTERIX_ROOT'/usr/contrib
;; ;;
alpha*-*-linux-gnuecoff*) alpha*-*-linux*ecoff*)
tm_file="${tm_file} alpha/linux-ecoff.h alpha/linux.h" tm_file="${tm_file} alpha/linux-ecoff.h alpha/linux.h"
target_cpu_default="MASK_GAS" target_cpu_default="MASK_GAS"
tmake_file="alpha/t-alpha alpha/t-ieee" tmake_file="alpha/t-alpha alpha/t-ieee"
...@@ -3839,7 +3839,7 @@ for machine in $build $host $target; do ...@@ -3839,7 +3839,7 @@ for machine in $build $host $target; do
xmake_file=none xmake_file=none
gas=yes gnu_ld=yes gas=yes gnu_ld=yes
;; ;;
alpha*-*-linux-gnulibc1*) alpha*-*-linux*libc1*)
tm_file="${tm_file} alpha/elf.h alpha/linux.h alpha/linux-elf.h" tm_file="${tm_file} alpha/elf.h alpha/linux.h alpha/linux-elf.h"
target_cpu_default="MASK_GAS" target_cpu_default="MASK_GAS"
tmake_file="t-linux t-linux-gnulibc1 alpha/t-alpha alpha/t-crtbe alpha/t-ieee" tmake_file="t-linux t-linux-gnulibc1 alpha/t-alpha alpha/t-crtbe alpha/t-ieee"
...@@ -3850,7 +3850,7 @@ for machine in $build $host $target; do ...@@ -3850,7 +3850,7 @@ for machine in $build $host $target; do
thread_file='posix' thread_file='posix'
fi fi
;; ;;
alpha*-*-linux-gnu*) alpha*-*-linux*)
tm_file="${tm_file} alpha/elf.h alpha/linux.h alpha/linux-elf.h" tm_file="${tm_file} alpha/elf.h alpha/linux.h alpha/linux-elf.h"
target_cpu_default="MASK_GAS" target_cpu_default="MASK_GAS"
tmake_file="t-linux alpha/t-crtbe alpha/t-alpha alpha/t-ieee" tmake_file="t-linux alpha/t-crtbe alpha/t-alpha alpha/t-ieee"
...@@ -3980,14 +3980,14 @@ for machine in $build $host $target; do ...@@ -3980,14 +3980,14 @@ for machine in $build $host $target; do
tmake_file="t-netbsd arm/t-netbsd" tmake_file="t-netbsd arm/t-netbsd"
use_collect2=yes use_collect2=yes
;; ;;
arm*-*-linux-gnuaout*) # ARM GNU/Linux with a.out arm*-*-linux*aout*) # ARM GNU/Linux with a.out
cpu_type=arm cpu_type=arm
xmake_file=x-linux xmake_file=x-linux
tm_file=arm/linux-aout.h tm_file=arm/linux-aout.h
tmake_file=arm/t-linux tmake_file=arm/t-linux
gnu_ld=yes gnu_ld=yes
;; ;;
arm*-*-linux-gnuoldld*) # ARM GNU/Linux with old ELF linker arm*-*-linux*oldld*) # ARM GNU/Linux with old ELF linker
xm_file=arm/xm-linux.h xm_file=arm/xm-linux.h
xmake_file=x-linux xmake_file=x-linux
tm_file="arm/linux-oldld.h arm/linux-elf.h" tm_file="arm/linux-oldld.h arm/linux-elf.h"
...@@ -4005,7 +4005,7 @@ for machine in $build $host $target; do ...@@ -4005,7 +4005,7 @@ for machine in $build $host $target; do
;; ;;
esac esac
;; ;;
arm*-*-linux-gnu*) # ARM GNU/Linux with ELF arm*-*-linux*) # ARM GNU/Linux with ELF
xm_file=arm/xm-linux.h xm_file=arm/xm-linux.h
xmake_file=x-linux xmake_file=x-linux
tm_file="arm/linux-elf.h" tm_file="arm/linux-elf.h"
...@@ -4567,7 +4567,7 @@ for machine in $build $host $target; do ...@@ -4567,7 +4567,7 @@ for machine in $build $host $target; do
tmake_file="$tmake_file i386/t-i386bare" tmake_file="$tmake_file i386/t-i386bare"
install_headers_dir=install-headers-cpio install_headers_dir=install-headers-cpio
;; ;;
i[34567]86-*-linux-gnuoldld*) # Intel 80386's running GNU/Linux i[34567]86-*-linux*oldld*) # Intel 80386's running GNU/Linux
# pre BFD linkers # pre BFD linkers
xmake_file=x-linux-aout xmake_file=x-linux-aout
tmake_file="t-linux-aout i386/t-crtstuff" tmake_file="t-linux-aout i386/t-crtstuff"
...@@ -4575,14 +4575,14 @@ for machine in $build $host $target; do ...@@ -4575,14 +4575,14 @@ for machine in $build $host $target; do
gnu_ld=yes gnu_ld=yes
float_format=i386 float_format=i386
;; ;;
i[34567]86-*-linux-gnuaout*) # Intel 80386's running GNU/Linux i[34567]86-*-linux*aout*) # Intel 80386's running GNU/Linux
xmake_file=x-linux-aout xmake_file=x-linux-aout
tmake_file="t-linux-aout i386/t-crtstuff" tmake_file="t-linux-aout i386/t-crtstuff"
tm_file=i386/linux-aout.h tm_file=i386/linux-aout.h
gnu_ld=yes gnu_ld=yes
float_format=i386 float_format=i386
;; ;;
i[34567]86-*-linux-gnulibc1) # Intel 80386's running GNU/Linux i[34567]86-*-linux*libc1) # Intel 80386's running GNU/Linux
# GNU/Linux C library 5 # GNU/Linux C library 5
xmake_file=x-linux xmake_file=x-linux
tm_file=i386/linux.h tm_file=i386/linux.h
...@@ -4594,7 +4594,7 @@ for machine in $build $host $target; do ...@@ -4594,7 +4594,7 @@ for machine in $build $host $target; do
thread_file='single' thread_file='single'
fi fi
;; ;;
i[34567]86-*-linux-gnu*) # Intel 80386's running GNU/Linux i[34567]86-*-linux*) # Intel 80386's running GNU/Linux
# aka GNU/Linux C library 6 # aka GNU/Linux C library 6
xmake_file=x-linux xmake_file=x-linux
tm_file=i386/linux.h tm_file=i386/linux.h
...@@ -5405,7 +5405,7 @@ for machine in $build $host $target; do ...@@ -5405,7 +5405,7 @@ for machine in $build $host $target; do
extra_headers=math-68881.h extra_headers=math-68881.h
float_format=m68k float_format=m68k
;; ;;
m68k-*-linux-gnuaout*) # Motorola m68k's running GNU/Linux m68k-*-linux*aout*) # Motorola m68k's running GNU/Linux
# with a.out format # with a.out format
xmake_file=x-linux xmake_file=x-linux
tm_file=m68k/linux-aout.h tm_file=m68k/linux-aout.h
...@@ -5414,7 +5414,7 @@ for machine in $build $host $target; do ...@@ -5414,7 +5414,7 @@ for machine in $build $host $target; do
float_format=m68k float_format=m68k
gnu_ld=yes gnu_ld=yes
;; ;;
m68k-*-linux-gnulibc1) # Motorola m68k's running GNU/Linux m68k-*-linux*libc1) # Motorola m68k's running GNU/Linux
# with ELF format using the # with ELF format using the
# GNU/Linux C library 5 # GNU/Linux C library 5
xmake_file=x-linux xmake_file=x-linux
...@@ -5425,7 +5425,7 @@ for machine in $build $host $target; do ...@@ -5425,7 +5425,7 @@ for machine in $build $host $target; do
float_format=m68k float_format=m68k
gnu_ld=yes gnu_ld=yes
;; ;;
m68k-*-linux-gnu*) # Motorola m68k's running GNU/Linux m68k-*-linux*) # Motorola m68k's running GNU/Linux
# with ELF format using glibc 2 # with ELF format using glibc 2
# aka the GNU/Linux C library 6. # aka the GNU/Linux C library 6.
xmake_file=x-linux xmake_file=x-linux
...@@ -6150,7 +6150,7 @@ for machine in $build $host $target; do ...@@ -6150,7 +6150,7 @@ for machine in $build $host $target; do
tmake_file="rs6000/t-ppcgas t-rtems rs6000/t-ppccomm" tmake_file="rs6000/t-ppcgas t-rtems rs6000/t-ppccomm"
extra_headers=ppc-asm.h extra_headers=ppc-asm.h
;; ;;
powerpc-*-linux-gnulibc1) powerpc-*-linux*libc1)
tm_file="rs6000/sysv4.h rs6000/linux.h" tm_file="rs6000/sysv4.h rs6000/linux.h"
xm_file=rs6000/xm-sysv4.h xm_file=rs6000/xm-sysv4.h
out_file=rs6000/rs6000.c out_file=rs6000/rs6000.c
...@@ -6161,7 +6161,7 @@ for machine in $build $host $target; do ...@@ -6161,7 +6161,7 @@ for machine in $build $host $target; do
thread_file='posix' thread_file='posix'
fi fi
;; ;;
powerpc-*-linux-gnu*) powerpc-*-linux*)
tm_file="rs6000/sysv4.h rs6000/linux.h" tm_file="rs6000/sysv4.h rs6000/linux.h"
xm_file="rs6000/xm-sysv4.h" xm_file="rs6000/xm-sysv4.h"
xm_defines="USG ${xm_defines}" xm_defines="USG ${xm_defines}"
...@@ -6343,13 +6343,13 @@ for machine in $build $host $target; do ...@@ -6343,13 +6343,13 @@ for machine in $build $host $target; do
#float_format=i128 #float_format=i128
float_format=i64 float_format=i64
;; ;;
sparc-*-linux-gnuaout*) # Sparc's running GNU/Linux, a.out sparc-*-linux*aout*) # Sparc's running GNU/Linux, a.out
xm_file="${xm_file} sparc/xm-linux.h" xm_file="${xm_file} sparc/xm-linux.h"
tm_file=sparc/linux-aout.h tm_file=sparc/linux-aout.h
xmake_file=x-linux xmake_file=x-linux
gnu_ld=yes gnu_ld=yes
;; ;;
sparc-*-linux-gnulibc1*) # Sparc's running GNU/Linux, libc5 sparc-*-linux*libc1*) # Sparc's running GNU/Linux, libc5
xm_file="${xm_file} sparc/xm-linux.h" xm_file="${xm_file} sparc/xm-linux.h"
xmake_file=x-linux xmake_file=x-linux
tm_file=sparc/linux.h tm_file=sparc/linux.h
...@@ -6358,7 +6358,7 @@ for machine in $build $host $target; do ...@@ -6358,7 +6358,7 @@ for machine in $build $host $target; do
gnu_ld=yes gnu_ld=yes
float_format=sparc float_format=sparc
;; ;;
sparc-*-linux-gnu*) # Sparc's running GNU/Linux, libc6 sparc-*-linux*) # Sparc's running GNU/Linux, libc6
xm_file="${xm_file} sparc/xm-linux.h" xm_file="${xm_file} sparc/xm-linux.h"
xmake_file=x-linux xmake_file=x-linux
tm_file=sparc/linux.h tm_file=sparc/linux.h
...@@ -6648,7 +6648,7 @@ for machine in $build $host $target; do ...@@ -6648,7 +6648,7 @@ for machine in $build $host $target; do
esac esac
case $machine in case $machine in
*-*-linux-gnu*) *-*-linux*)
;; # Existing GNU/Linux systems do not use the GNU setup. ;; # Existing GNU/Linux systems do not use the GNU setup.
*-*-gnu*) *-*-gnu*)
# On the GNU system, the setup is just about the same on # On the GNU system, the setup is just about the same on
...@@ -7157,7 +7157,7 @@ else ...@@ -7157,7 +7157,7 @@ else
int main() { int main() {
/* Ultrix mips cc rejects this. */ /* Ultrix mips cc rejects this. */
typedef int charset[2]; const charset x; typedef int charset[2]; const charset x = {0,0};
/* SunOS 4.1.1 cc rejects this. */ /* SunOS 4.1.1 cc rejects this. */
char const *const *ccp; char const *const *ccp;
char **p; char **p;
...@@ -7298,7 +7298,7 @@ else ...@@ -7298,7 +7298,7 @@ else
#include "confdefs.h" #include "confdefs.h"
#include <alloca.h> #include <alloca.h>
int main() { int main() {
char *p = alloca(2 * sizeof(int)); void *p = alloca(2 * sizeof(int));
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:7305: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:7305: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
......
...@@ -656,9 +656,9 @@ changequote([,])dnl ...@@ -656,9 +656,9 @@ changequote([,])dnl
;; ;;
esac esac
# Common parts for linux-gnu and openbsd systems # Common parts for linux and openbsd systems
case $machine in case $machine in
*-*-linux-gnu*) *-*-linux*)
xm_defines="HAVE_ATEXIT POSIX BSTRING" xm_defines="HAVE_ATEXIT POSIX BSTRING"
;; ;;
*-*-openbsd*) *-*-openbsd*)
...@@ -733,7 +733,7 @@ changequote([,])dnl ...@@ -733,7 +733,7 @@ changequote([,])dnl
#prefix='$$INTERIX_ROOT'/usr/contrib #prefix='$$INTERIX_ROOT'/usr/contrib
#local_prefix='$$INTERIX_ROOT'/usr/contrib #local_prefix='$$INTERIX_ROOT'/usr/contrib
;; ;;
alpha*-*-linux-gnuecoff*) alpha*-*-linux*ecoff*)
tm_file="${tm_file} alpha/linux-ecoff.h alpha/linux.h" tm_file="${tm_file} alpha/linux-ecoff.h alpha/linux.h"
target_cpu_default="MASK_GAS" target_cpu_default="MASK_GAS"
tmake_file="alpha/t-alpha alpha/t-ieee" tmake_file="alpha/t-alpha alpha/t-ieee"
...@@ -741,7 +741,7 @@ changequote([,])dnl ...@@ -741,7 +741,7 @@ changequote([,])dnl
xmake_file=none xmake_file=none
gas=yes gnu_ld=yes gas=yes gnu_ld=yes
;; ;;
alpha*-*-linux-gnulibc1*) alpha*-*-linux*libc1*)
tm_file="${tm_file} alpha/elf.h alpha/linux.h alpha/linux-elf.h" tm_file="${tm_file} alpha/elf.h alpha/linux.h alpha/linux-elf.h"
target_cpu_default="MASK_GAS" target_cpu_default="MASK_GAS"
tmake_file="t-linux t-linux-gnulibc1 alpha/t-alpha alpha/t-crtbe alpha/t-ieee" tmake_file="t-linux t-linux-gnulibc1 alpha/t-alpha alpha/t-crtbe alpha/t-ieee"
...@@ -752,7 +752,7 @@ changequote([,])dnl ...@@ -752,7 +752,7 @@ changequote([,])dnl
thread_file='posix' thread_file='posix'
fi fi
;; ;;
alpha*-*-linux-gnu*) alpha*-*-linux*)
tm_file="${tm_file} alpha/elf.h alpha/linux.h alpha/linux-elf.h" tm_file="${tm_file} alpha/elf.h alpha/linux.h alpha/linux-elf.h"
target_cpu_default="MASK_GAS" target_cpu_default="MASK_GAS"
tmake_file="t-linux alpha/t-crtbe alpha/t-alpha alpha/t-ieee" tmake_file="t-linux alpha/t-crtbe alpha/t-alpha alpha/t-ieee"
...@@ -888,14 +888,14 @@ changequote([,])dnl ...@@ -888,14 +888,14 @@ changequote([,])dnl
tmake_file="t-netbsd arm/t-netbsd" tmake_file="t-netbsd arm/t-netbsd"
use_collect2=yes use_collect2=yes
;; ;;
arm*-*-linux-gnuaout*) # ARM GNU/Linux with a.out arm*-*-linux*aout*) # ARM GNU/Linux with a.out
cpu_type=arm cpu_type=arm
xmake_file=x-linux xmake_file=x-linux
tm_file=arm/linux-aout.h tm_file=arm/linux-aout.h
tmake_file=arm/t-linux tmake_file=arm/t-linux
gnu_ld=yes gnu_ld=yes
;; ;;
arm*-*-linux-gnuoldld*) # ARM GNU/Linux with old ELF linker arm*-*-linux*oldld*) # ARM GNU/Linux with old ELF linker
xm_file=arm/xm-linux.h xm_file=arm/xm-linux.h
xmake_file=x-linux xmake_file=x-linux
tm_file="arm/linux-oldld.h arm/linux-elf.h" tm_file="arm/linux-oldld.h arm/linux-elf.h"
...@@ -913,7 +913,7 @@ changequote([,])dnl ...@@ -913,7 +913,7 @@ changequote([,])dnl
;; ;;
esac esac
;; ;;
arm*-*-linux-gnu*) # ARM GNU/Linux with ELF arm*-*-linux*) # ARM GNU/Linux with ELF
xm_file=arm/xm-linux.h xm_file=arm/xm-linux.h
xmake_file=x-linux xmake_file=x-linux
tm_file="arm/linux-elf.h" tm_file="arm/linux-elf.h"
...@@ -1520,7 +1520,7 @@ changequote([,])dnl ...@@ -1520,7 +1520,7 @@ changequote([,])dnl
install_headers_dir=install-headers-cpio install_headers_dir=install-headers-cpio
;; ;;
changequote(,)dnl changequote(,)dnl
i[34567]86-*-linux-gnuoldld*) # Intel 80386's running GNU/Linux i[34567]86-*-linux*oldld*) # Intel 80386's running GNU/Linux
changequote([,])dnl # with a.out format using changequote([,])dnl # with a.out format using
# pre BFD linkers # pre BFD linkers
xmake_file=x-linux-aout xmake_file=x-linux-aout
...@@ -1530,7 +1530,7 @@ changequote([,])dnl # with a.out format using ...@@ -1530,7 +1530,7 @@ changequote([,])dnl # with a.out format using
float_format=i386 float_format=i386
;; ;;
changequote(,)dnl changequote(,)dnl
i[34567]86-*-linux-gnuaout*) # Intel 80386's running GNU/Linux i[34567]86-*-linux*aout*) # Intel 80386's running GNU/Linux
changequote([,])dnl # with a.out format changequote([,])dnl # with a.out format
xmake_file=x-linux-aout xmake_file=x-linux-aout
tmake_file="t-linux-aout i386/t-crtstuff" tmake_file="t-linux-aout i386/t-crtstuff"
...@@ -1539,7 +1539,7 @@ changequote([,])dnl # with a.out format ...@@ -1539,7 +1539,7 @@ changequote([,])dnl # with a.out format
float_format=i386 float_format=i386
;; ;;
changequote(,)dnl changequote(,)dnl
i[34567]86-*-linux-gnulibc1) # Intel 80386's running GNU/Linux i[34567]86-*-linux*libc1) # Intel 80386's running GNU/Linux
changequote([,])dnl # with ELF format using the changequote([,])dnl # with ELF format using the
# GNU/Linux C library 5 # GNU/Linux C library 5
xmake_file=x-linux xmake_file=x-linux
...@@ -1553,7 +1553,7 @@ changequote([,])dnl # with ELF format using the ...@@ -1553,7 +1553,7 @@ changequote([,])dnl # with ELF format using the
fi fi
;; ;;
changequote(,)dnl changequote(,)dnl
i[34567]86-*-linux-gnu*) # Intel 80386's running GNU/Linux i[34567]86-*-linux*) # Intel 80386's running GNU/Linux
changequote([,])dnl # with ELF format using glibc 2 changequote([,])dnl # with ELF format using glibc 2
# aka GNU/Linux C library 6 # aka GNU/Linux C library 6
xmake_file=x-linux xmake_file=x-linux
...@@ -2419,7 +2419,7 @@ changequote([,])dnl ...@@ -2419,7 +2419,7 @@ changequote([,])dnl
extra_headers=math-68881.h extra_headers=math-68881.h
float_format=m68k float_format=m68k
;; ;;
m68k-*-linux-gnuaout*) # Motorola m68k's running GNU/Linux m68k-*-linux*aout*) # Motorola m68k's running GNU/Linux
# with a.out format # with a.out format
xmake_file=x-linux xmake_file=x-linux
tm_file=m68k/linux-aout.h tm_file=m68k/linux-aout.h
...@@ -2428,7 +2428,7 @@ changequote([,])dnl ...@@ -2428,7 +2428,7 @@ changequote([,])dnl
float_format=m68k float_format=m68k
gnu_ld=yes gnu_ld=yes
;; ;;
m68k-*-linux-gnulibc1) # Motorola m68k's running GNU/Linux m68k-*-linux*libc1) # Motorola m68k's running GNU/Linux
# with ELF format using the # with ELF format using the
# GNU/Linux C library 5 # GNU/Linux C library 5
xmake_file=x-linux xmake_file=x-linux
...@@ -2439,7 +2439,7 @@ changequote([,])dnl ...@@ -2439,7 +2439,7 @@ changequote([,])dnl
float_format=m68k float_format=m68k
gnu_ld=yes gnu_ld=yes
;; ;;
m68k-*-linux-gnu*) # Motorola m68k's running GNU/Linux m68k-*-linux*) # Motorola m68k's running GNU/Linux
# with ELF format using glibc 2 # with ELF format using glibc 2
# aka the GNU/Linux C library 6. # aka the GNU/Linux C library 6.
xmake_file=x-linux xmake_file=x-linux
...@@ -3176,7 +3176,7 @@ changequote([,])dnl ...@@ -3176,7 +3176,7 @@ changequote([,])dnl
tmake_file="rs6000/t-ppcgas t-rtems rs6000/t-ppccomm" tmake_file="rs6000/t-ppcgas t-rtems rs6000/t-ppccomm"
extra_headers=ppc-asm.h extra_headers=ppc-asm.h
;; ;;
powerpc-*-linux-gnulibc1) powerpc-*-linux*libc1)
tm_file="rs6000/sysv4.h rs6000/linux.h" tm_file="rs6000/sysv4.h rs6000/linux.h"
xm_file=rs6000/xm-sysv4.h xm_file=rs6000/xm-sysv4.h
out_file=rs6000/rs6000.c out_file=rs6000/rs6000.c
...@@ -3187,7 +3187,7 @@ changequote([,])dnl ...@@ -3187,7 +3187,7 @@ changequote([,])dnl
thread_file='posix' thread_file='posix'
fi fi
;; ;;
powerpc-*-linux-gnu*) powerpc-*-linux*)
tm_file="rs6000/sysv4.h rs6000/linux.h" tm_file="rs6000/sysv4.h rs6000/linux.h"
xm_file="rs6000/xm-sysv4.h" xm_file="rs6000/xm-sysv4.h"
xm_defines="USG ${xm_defines}" xm_defines="USG ${xm_defines}"
...@@ -3379,13 +3379,13 @@ changequote([,])dnl ...@@ -3379,13 +3379,13 @@ changequote([,])dnl
#float_format=i128 #float_format=i128
float_format=i64 float_format=i64
;; ;;
sparc-*-linux-gnuaout*) # Sparc's running GNU/Linux, a.out sparc-*-linux*aout*) # Sparc's running GNU/Linux, a.out
xm_file="${xm_file} sparc/xm-linux.h" xm_file="${xm_file} sparc/xm-linux.h"
tm_file=sparc/linux-aout.h tm_file=sparc/linux-aout.h
xmake_file=x-linux xmake_file=x-linux
gnu_ld=yes gnu_ld=yes
;; ;;
sparc-*-linux-gnulibc1*) # Sparc's running GNU/Linux, libc5 sparc-*-linux*libc1*) # Sparc's running GNU/Linux, libc5
xm_file="${xm_file} sparc/xm-linux.h" xm_file="${xm_file} sparc/xm-linux.h"
xmake_file=x-linux xmake_file=x-linux
tm_file=sparc/linux.h tm_file=sparc/linux.h
...@@ -3394,7 +3394,7 @@ changequote([,])dnl ...@@ -3394,7 +3394,7 @@ changequote([,])dnl
gnu_ld=yes gnu_ld=yes
float_format=sparc float_format=sparc
;; ;;
sparc-*-linux-gnu*) # Sparc's running GNU/Linux, libc6 sparc-*-linux*) # Sparc's running GNU/Linux, libc6
xm_file="${xm_file} sparc/xm-linux.h" xm_file="${xm_file} sparc/xm-linux.h"
xmake_file=x-linux xmake_file=x-linux
tm_file=sparc/linux.h tm_file=sparc/linux.h
...@@ -3690,7 +3690,7 @@ changequote([,])dnl ...@@ -3690,7 +3690,7 @@ changequote([,])dnl
esac esac
case $machine in case $machine in
*-*-linux-gnu*) *-*-linux*)
;; # Existing GNU/Linux systems do not use the GNU setup. ;; # Existing GNU/Linux systems do not use the GNU setup.
*-*-gnu*) *-*-gnu*)
# On the GNU system, the setup is just about the same on # On the GNU system, the setup is just about the same on
......
...@@ -331,7 +331,7 @@ tSCC zAab_Fd_Zero_Asm_Posix_Types_HList[] = ...@@ -331,7 +331,7 @@ tSCC zAab_Fd_Zero_Asm_Posix_Types_HList[] =
* Machine/OS name selection pattern * Machine/OS name selection pattern
*/ */
tSCC* apzAab_Fd_Zero_Asm_Posix_Types_HMachs[] = { tSCC* apzAab_Fd_Zero_Asm_Posix_Types_HMachs[] = {
"i[34567]86-*-linux-gnu*", "i[34567]86-*-linux*",
(const char*)NULL }; (const char*)NULL };
/* /*
...@@ -387,7 +387,7 @@ tSCC zAab_Fd_Zero_Gnu_Types_HList[] = ...@@ -387,7 +387,7 @@ tSCC zAab_Fd_Zero_Gnu_Types_HList[] =
* Machine/OS name selection pattern * Machine/OS name selection pattern
*/ */
tSCC* apzAab_Fd_Zero_Gnu_Types_HMachs[] = { tSCC* apzAab_Fd_Zero_Gnu_Types_HMachs[] = {
"i[34567]86-*-linux-gnu*", "i[34567]86-*-linux*",
(const char*)NULL }; (const char*)NULL };
#define AAB_FD_ZERO_GNU_TYPES_H_TEST_CT 0 #define AAB_FD_ZERO_GNU_TYPES_H_TEST_CT 0
#define aAab_Fd_Zero_Gnu_Types_HTests (tTestDesc*)NULL #define aAab_Fd_Zero_Gnu_Types_HTests (tTestDesc*)NULL
...@@ -434,7 +434,7 @@ tSCC zAab_Fd_Zero_Selectbits_HList[] = ...@@ -434,7 +434,7 @@ tSCC zAab_Fd_Zero_Selectbits_HList[] =
* Machine/OS name selection pattern * Machine/OS name selection pattern
*/ */
tSCC* apzAab_Fd_Zero_Selectbits_HMachs[] = { tSCC* apzAab_Fd_Zero_Selectbits_HMachs[] = {
"i[34567]86-*-linux-gnu*", "i[34567]86-*-linux*",
(const char*)NULL }; (const char*)NULL };
#define AAB_FD_ZERO_SELECTBITS_H_TEST_CT 0 #define AAB_FD_ZERO_SELECTBITS_H_TEST_CT 0
#define aAab_Fd_Zero_Selectbits_HTests (tTestDesc*)NULL #define aAab_Fd_Zero_Selectbits_HTests (tTestDesc*)NULL
......
...@@ -163,7 +163,7 @@ typedef char * va_list; ...@@ -163,7 +163,7 @@ typedef char * va_list;
fix = { fix = {
hackname = AAB_fd_zero_asm_posix_types_h; hackname = AAB_fd_zero_asm_posix_types_h;
files = asm/posix_types.h; files = asm/posix_types.h;
mach = 'i[34567]86-*-linux-gnu*'; mach = 'i[34567]86-*-linux*';
bypass = '} while'; bypass = '} while';
/* /*
...@@ -204,7 +204,7 @@ fix = { ...@@ -204,7 +204,7 @@ fix = {
fix = { fix = {
hackname = AAB_fd_zero_gnu_types_h; hackname = AAB_fd_zero_gnu_types_h;
files = gnu/types.h; files = gnu/types.h;
mach = 'i[34567]86-*-linux-gnu*'; mach = 'i[34567]86-*-linux*';
/* /*
* Define _TYPES_H_WRAPPER at the end of the wrapper, not * Define _TYPES_H_WRAPPER at the end of the wrapper, not
...@@ -243,7 +243,7 @@ fix = { ...@@ -243,7 +243,7 @@ fix = {
fix = { fix = {
hackname = AAB_fd_zero_selectbits_h; hackname = AAB_fd_zero_selectbits_h;
files = selectbits.h; files = selectbits.h;
mach = 'i[34567]86-*-linux-gnu*'; mach = 'i[34567]86-*-linux*';
/* /*
* Define _SELECTBITS_H_WRAPPER at the end of the wrapper, not * Define _SELECTBITS_H_WRAPPER at the end of the wrapper, not
......
...@@ -13,7 +13,7 @@ echo constructing ${target} for $machine ...@@ -13,7 +13,7 @@ echo constructing ${target} for $machine
fixincludes="${machine}" fixincludes="${machine}"
case $machine in case $machine in
i[34567]86-*-linux-gnu*) i[34567]86-*-linux*)
: :
;; ;;
...@@ -35,7 +35,7 @@ case $machine in ...@@ -35,7 +35,7 @@ case $machine in
;; ;;
*-*-netbsd* | \ *-*-netbsd* | \
alpha*-*-linux-gnulibc1* | \ alpha*-*-linux*libc1* | \
i?86-*-openbsd* | \ i?86-*-openbsd* | \
i?86-*-solaris2* | \ i?86-*-solaris2* | \
sparcv9-*-solaris2* | \ sparcv9-*-solaris2* | \
...@@ -63,7 +63,7 @@ case $machine in ...@@ -63,7 +63,7 @@ case $machine in
hppa1.1-*-bsd* | \ hppa1.1-*-bsd* | \
hppa1.0-*-bsd* | \ hppa1.0-*-bsd* | \
hppa*-*-lites* | \ hppa*-*-lites* | \
*-*-linux-gnu* | \ *-*-linux* | \
*-*-gnu* | \ *-*-gnu* | \
i?86-moss-msdos* | i?86-*-moss* | \ i?86-moss-msdos* | i?86-*-moss* | \
i?86-*-osf1* | \ i?86-*-osf1* | \
......
...@@ -776,8 +776,8 @@ Here is a list of system types: ...@@ -776,8 +776,8 @@ Here is a list of system types:
@quotation @quotation
386bsd, aix, acis, amigaos, aos, aout, aux, bosx, bsd, clix, coff, ctix, cxux, 386bsd, aix, acis, amigaos, aos, aout, aux, bosx, bsd, clix, coff, ctix, cxux,
dgux, dynix, ebmon, ecoff, elf, esix, freebsd, hms, genix, gnu, linux-gnu, dgux, dynix, ebmon, ecoff, elf, esix, freebsd, hms, genix, gnu, linux,
hiux, hpux, iris, irix, isc, luna, lynxos, mach, minix, msdos, mvs, linux-gnu, hiux, hpux, iris, irix, isc, luna, lynxos, mach, minix, msdos, mvs,
netbsd, newsos, nindy, ns, osf, osfrose, ptx, riscix, riscos, rtu, sco, sim, netbsd, newsos, nindy, ns, osf, osfrose, ptx, riscix, riscos, rtu, sco, sim,
solaris, sunos, sym, sysv, udi, ultrix, unicos, uniplus, unos, vms, vsta, solaris, sunos, sym, sysv, udi, ultrix, unicos, uniplus, unos, vms, vsta,
vxworks, winnt, xenix. vxworks, winnt, xenix.
...@@ -793,6 +793,12 @@ make a difference. For example, you can write @samp{bsd4.3} or ...@@ -793,6 +793,12 @@ make a difference. For example, you can write @samp{bsd4.3} or
number is most needed for @samp{sysv3} and @samp{sysv4}, which are often number is most needed for @samp{sysv3} and @samp{sysv4}, which are often
treated differently. treated differently.
@samp{linux} and @samp{linux-gnu} are equivalent. The distinction is
purely political, and has no effect on the compiler. The version of
the kernel in use is not relevant on these systems. A suffix such as
@samp{libc1} or @samp{aout} distinguishes major versions of the C library;
all of the suffixed versions are obsolete.
If you specify an impossible combination such as @samp{i860-dg-vms}, If you specify an impossible combination such as @samp{i860-dg-vms},
then you may get an error message from @file{configure}, or it may then you may get an error message from @file{configure}, or it may
ignore part of the information and do the best it can with the rest. ignore part of the information and do the best it can with the rest.
...@@ -940,12 +946,13 @@ configuration. ...@@ -940,12 +946,13 @@ configuration.
@item arm-*-elf @item arm-*-elf
This configuration is intended for embedded systems. This configuration is intended for embedded systems.
@item arm-*-linux-gnuaout @item arm-*-linux*aout
Any of the ARM-family processors running the Linux-based GNU system with Any of the ARM-family processors running the Linux-based GNU system with
the @file{a.out} binary format. This is an obsolete configuration. the @file{a.out} binary format. This is an obsolete configuration.
@item arm-*-linux-gnu @item arm-*-linux
@itemx arm-*-linux-gnuoldld @itemx arm-*-linux-gnu
@itemx arm-*-linux*oldld
Any of the ARM-family processors running the Linux-based GNU system with Any of the ARM-family processors running the Linux-based GNU system with
the @file{ELF} binary format. You must use version 2.9.1.0.22 or later the @file{ELF} binary format. You must use version 2.9.1.0.22 or later
of the GNU/Linux binutils, which you can download from of the GNU/Linux binutils, which you can download from
...@@ -1087,17 +1094,18 @@ option before building. ...@@ -1087,17 +1094,18 @@ option before building.
This port is very preliminary and has many known bugs. We hope to This port is very preliminary and has many known bugs. We hope to
have a higher-quality port for this machine soon. have a higher-quality port for this machine soon.
@item i386-*-linux-gnuoldld @item i386-*-linux*oldld
Use this configuration to generate @file{a.out} binaries on Linux-based Use this configuration to generate @file{a.out} binaries on Linux-based
GNU systems if you do not have gas/binutils version 2.5.2 or later GNU systems if you do not have gas/binutils version 2.5.2 or later
installed. This is an obsolete configuration. installed. This is an obsolete configuration.
@item i386-*-linux-gnuaout @item i386-*-linux*aout
Use this configuration to generate @file{a.out} binaries on Linux-based Use this configuration to generate @file{a.out} binaries on Linux-based
GNU systems. This configuration is being superseded. You must use GNU systems. This configuration is being superseded. You must use
gas/binutils version 2.5.2 or later. gas/binutils version 2.5.2 or later.
@item i386-*-linux-gnu @item i386-*-linux
@itemx i386-*-linux-gnu
Use this configuration to generate ELF binaries on Linux-based GNU Use this configuration to generate ELF binaries on Linux-based GNU
systems. You must use gas/binutils version 2.5.2 or later. systems. You must use gas/binutils version 2.5.2 or later.
...@@ -1559,7 +1567,8 @@ PowerPC system in big endian mode, running System V.4. ...@@ -1559,7 +1567,8 @@ PowerPC system in big endian mode, running System V.4.
You can specify a default version for the @samp{-mcpu=}@var{cpu_type} You can specify a default version for the @samp{-mcpu=}@var{cpu_type}
switch by using the configure option @samp{--with-cpu-}@var{cpu_type}. switch by using the configure option @samp{--with-cpu-}@var{cpu_type}.
@item powerpc-*-linux-gnu @item powerpc-*-linux
@itemx powerpc-*-linux-gnu
PowerPC system in big endian mode, running the Linux-based GNU system. PowerPC system in big endian mode, running the Linux-based GNU system.
You can specify a default version for the @samp{-mcpu=}@var{cpu_type} You can specify a default version for the @samp{-mcpu=}@var{cpu_type}
......
2000-08-14 Zack Weinberg <zack@wolery.cumb.org>
* configure.in: Accept *-*-linux* not just *-*-linux-gnu*.
Honor --disable-threads.
Sun Jul 23 15:16:23 2000 Krister Walfridsson <cato@df.lth.se> Sun Jul 23 15:16:23 2000 Krister Walfridsson <cato@df.lth.se>
* gen-params: Added trailing space for 'long long int' regexp. * gen-params: Added trailing space for 'long long int' regexp.
......
...@@ -47,22 +47,27 @@ package_makefile_rules_frag=Make.pack.r ...@@ -47,22 +47,27 @@ package_makefile_rules_frag=Make.pack.r
echo "# Warning: this fragment is automatically generated" > temp.mt echo "# Warning: this fragment is automatically generated" > temp.mt
frags= frags=
case x$enable_threads in
xno) ;;
*) mtsafe=mtsafe.mt ;;
esac
case "${target}" in case "${target}" in
*-mpeix*) frags="mpeix.mt" ;; *-mpeix*) frags="mpeix.mt" ;;
*-hpux*) frags=hpux.mt ;; *-hpux*) frags=hpux.mt ;;
alpha*-*-linux-gnulibc1) alpha*-*-linux*libc1)
frags="linux.mt linuxaxp1.mt mtsafe.mt" ;; frags="linux.mt linuxaxp1.mt $mtsafe" ;;
powerpc*-*-linux-gnulibc1) powerpc*-*-linux*libc1)
frags="linux.mt linuxaxp1.mt mtsafe.mt" ;; frags="linux.mt linuxaxp1.mt $mtsafe" ;;
*-linux-gnulibc1) *-linux*libc1)
frags=linuxlibc1.mt ;; frags=linuxlibc1.mt ;;
*-linux-gnu*) frags="linux.mt mtsafe.mt" ;; *-linux*)
frags="linux.mt $mtsafe" ;;
*-isc*) frags=isc.mt ;; *-isc*) frags=isc.mt ;;
*-netware*) frags=netware.mt ;; *-netware*) frags=netware.mt ;;
*-dgux*) frags=dgux.mt ;; *-dgux*) frags=dgux.mt ;;
*vxworks*) frags="vxworks.mt" ;; *vxworks*) frags="vxworks.mt" ;;
*-beos*) frags="beos.mt mtsafe.mt" ;; *-beos*) frags="beos.mt $mtsafe" ;;
*) frags=${target_cpu}.mt ;; *) frags=${target_cpu}.mt ;;
esac esac
...@@ -88,7 +93,7 @@ fi ...@@ -88,7 +93,7 @@ fi
# Take care of header file lossage. # Take care of header file lossage.
case "${target}" in case "${target}" in
alpha*-*-linux-gnulibc1) alpha*-*-linux*libc1)
# For some reason stdio-lock.h is not installed on Red Hat systems. # For some reason stdio-lock.h is not installed on Red Hat systems.
# Further, libc-lock.h needs to define the pthreads stuff weak, and # Further, libc-lock.h needs to define the pthreads stuff weak, and
# fails to do this for other than _LIBC. Install our own versions # fails to do this for other than _LIBC. Install our own versions
...@@ -96,7 +101,7 @@ case "${target}" in ...@@ -96,7 +101,7 @@ case "${target}" in
cp ${srcdir}/config/linuxaxp1-libc-lock.h libc-lock.h cp ${srcdir}/config/linuxaxp1-libc-lock.h libc-lock.h
cp ${srcdir}/config/linuxaxp1-stdio-lock.h stdio-lock.h cp ${srcdir}/config/linuxaxp1-stdio-lock.h stdio-lock.h
;; ;;
powerpc*-*-linux-gnulibc1) powerpc*-*-linux*libc1)
# For some reason stdio-lock.h is not installed on Red Hat systems. # For some reason stdio-lock.h is not installed on Red Hat systems.
# Further, libc-lock.h needs to define the pthreads stuff weak, and # Further, libc-lock.h needs to define the pthreads stuff weak, and
# fails to do this for other than _LIBC. Install our own versions # fails to do this for other than _LIBC. Install our own versions
...@@ -104,7 +109,7 @@ case "${target}" in ...@@ -104,7 +109,7 @@ case "${target}" in
cp ${srcdir}/config/linuxaxp1-libc-lock.h libc-lock.h cp ${srcdir}/config/linuxaxp1-libc-lock.h libc-lock.h
cp ${srcdir}/config/linuxaxp1-stdio-lock.h stdio-lock.h cp ${srcdir}/config/linuxaxp1-stdio-lock.h stdio-lock.h
;; ;;
*-linux-gnu*) *-linux*)
# We have a correct libc-lock.h in glibc 2.1 but not all glibc 2.0. # We have a correct libc-lock.h in glibc 2.1 but not all glibc 2.0.
# Create a wrapper if necessary. # Create a wrapper if necessary.
(echo "#include <bits/libc-lock.h>" | ${CC-cc} -E -) >/dev/null 2>&1 || (echo "#include <bits/libc-lock.h>" | ${CC-cc} -E -) >/dev/null 2>&1 ||
......
2000-08-14 Zack Weinberg <zack@wolery.cumb.org>
* configure: Regenerate after change to ../libtool.m4.
2000-08-14 Andreas Schwab <schwab@suse.de> 2000-08-14 Andreas Schwab <schwab@suse.de>
* objc-features.texi (Top): Move @menu at end of node. * objc-features.texi (Top): Move @menu at end of node.
......
...@@ -1603,7 +1603,7 @@ irix5* | irix6*) ...@@ -1603,7 +1603,7 @@ irix5* | irix6*)
;; ;;
# This must be Linux ELF. # This must be Linux ELF.
linux-gnu*) linux*)
case "$host_cpu" in case "$host_cpu" in
alpha* | i*86 | powerpc* | sparc* | ia64* ) alpha* | i*86 | powerpc* | sparc* | ia64* )
lt_cv_deplibs_check_method=pass_all ;; lt_cv_deplibs_check_method=pass_all ;;
......
2000-08-14 Zack Weinberg <zack@wolery.cumb.org>
* configure: Regenerate after change to ../libtool.m4.
2000-08-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com> 2000-08-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* bits/locale_facets.tcc: Formatting tweaks. * bits/locale_facets.tcc: Formatting tweaks.
......
...@@ -1863,7 +1863,7 @@ irix5* | irix6*) ...@@ -1863,7 +1863,7 @@ irix5* | irix6*)
;; ;;
   
# This must be Linux ELF. # This must be Linux ELF.
linux-gnu*) linux*)
case "$host_cpu" in case "$host_cpu" in
alpha* | i*86 | powerpc* | sparc* | ia64* ) alpha* | i*86 | powerpc* | sparc* | ia64* )
lt_cv_deplibs_check_method=pass_all ;; lt_cv_deplibs_check_method=pass_all ;;
...@@ -18136,12 +18136,15 @@ else ...@@ -18136,12 +18136,15 @@ else
#include <sys/types.h> #include <sys/types.h>
#include <fcntl.h> #include <fcntl.h>
#include <sys/mman.h> #include <sys/mman.h>
#include <stdlib.h>
#include <sys/stat.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
   
/* This mess was copied from the GNU getpagesize.h. */ /* This mess was copied from the GNU getpagesize.h. */
#ifndef HAVE_GETPAGESIZE #ifndef HAVE_GETPAGESIZE
# ifdef HAVE_UNISTD_H
# include <unistd.h>
# endif
   
/* Assume that all systems that can run configure have sys/param.h. */ /* Assume that all systems that can run configure have sys/param.h. */
# ifndef HAVE_SYS_PARAM_H # ifndef HAVE_SYS_PARAM_H
...@@ -18196,7 +18199,7 @@ main() ...@@ -18196,7 +18199,7 @@ main()
/* /*
* First, make a file with some known garbage in it. * First, make a file with some known garbage in it.
*/ */
data = malloc(pagesize); data = (char*)malloc(pagesize);
if (!data) if (!data)
exit(1); exit(1);
for (i = 0; i < pagesize; ++i) for (i = 0; i < pagesize; ++i)
...@@ -18217,7 +18220,7 @@ main() ...@@ -18217,7 +18220,7 @@ main()
fd = open("conftestmmap", O_RDWR); fd = open("conftestmmap", O_RDWR);
if (fd < 0) if (fd < 0)
exit(1); exit(1);
data2 = malloc(2 * pagesize); data2 = (char*)malloc(2 * pagesize);
if (!data2) if (!data2)
exit(1); exit(1);
data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1); data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
...@@ -18235,7 +18238,7 @@ main() ...@@ -18235,7 +18238,7 @@ main()
*/ */
for (i = 0; i < pagesize; ++i) for (i = 0; i < pagesize; ++i)
*(data2 + i) = *(data2 + i) + 1; *(data2 + i) = *(data2 + i) + 1;
data3 = malloc(pagesize); data3 = (char*)malloc(pagesize);
if (!data3) if (!data3)
exit(1); exit(1);
if (read(fd, data3, pagesize) != pagesize) if (read(fd, data3, pagesize) != pagesize)
...@@ -18249,7 +18252,7 @@ main() ...@@ -18249,7 +18252,7 @@ main()
} }
   
EOF EOF
if { (eval echo configure:18253: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null if { (eval echo configure:18256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then then
ac_cv_func_mmap_fixed_mapped=yes ac_cv_func_mmap_fixed_mapped=yes
else else
...@@ -18312,19 +18315,19 @@ fi ...@@ -18312,19 +18315,19 @@ fi
   
if test $ac_cv_header_locale_h = yes; then if test $ac_cv_header_locale_h = yes; then
echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
echo "configure:18316: checking for LC_MESSAGES" >&5 echo "configure:18319: checking for LC_MESSAGES" >&5
if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 18321 "configure" #line 18324 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <locale.h> #include <locale.h>
int main() { int main() {
return LC_MESSAGES return LC_MESSAGES
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:18328: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:18331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
ac_cv_val_LC_MESSAGES=yes ac_cv_val_LC_MESSAGES=yes
else else
......
2000-08-14 Zack Weinberg <zack@wolery.cumb.org>
* configure.in: Accept *-*-linux* not just *-*-linux-gnu*.
Honor --disable-threads.
2000-08-11 Jason Merrill <jason@redhat.com> 2000-08-11 Jason Merrill <jason@redhat.com>
* std/straits.h (is_del): Boolify with !!. * std/straits.h (is_del): Boolify with !!.
......
...@@ -89,9 +89,10 @@ fi ...@@ -89,9 +89,10 @@ fi
# Make sure the right flags are defined for multi-threading. # Make sure the right flags are defined for multi-threading.
case "${target}" in case "${target}" in
alpha*-*-linux-gnulibc1) frags="${frags} linux.mt" ;; *-*-linux*)
powerpc*-*-linux-gnulibc1) frags="${frags} linux.mt" ;; case "x${enable_threads}" in
*-*-linux-gnu*) frags="${frags} linux.mt" ;; xyes|xposix) frags="${frags} linux.mt" ;;
esac;;
*-*-openbsd*) *-*-openbsd*)
case "x${enable_threads}" in case "x${enable_threads}" in
xyes|xposix) frags="${frags} openbsd.mt" ;; xyes|xposix) frags="${frags} openbsd.mt" ;;
......
...@@ -579,7 +579,7 @@ irix5* | irix6*) ...@@ -579,7 +579,7 @@ irix5* | irix6*)
;; ;;
# This must be Linux ELF. # This must be Linux ELF.
linux-gnu*) linux*)
case "$host_cpu" in case "$host_cpu" in
alpha* | i*86 | powerpc* | sparc* | ia64* ) alpha* | i*86 | powerpc* | sparc* | ia64* )
lt_cv_deplibs_check_method=pass_all ;; lt_cv_deplibs_check_method=pass_all ;;
......
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