mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-07 23:10:31 +08:00
2001-03-22 Philip Blundell <philb@gnu.org>
* config.sub, config.guess: Import latest from subversions.
This commit is contained in:
parent
d8f705c7eb
commit
f135657863
@ -1,3 +1,7 @@
|
|||||||
|
2001-03-22 Philip Blundell <philb@gnu.org>
|
||||||
|
|
||||||
|
* config.sub, config.guess: Import latest from subversions.
|
||||||
|
|
||||||
2001-03-22 Alexandre Oliva <aoliva@redhat.com>
|
2001-03-22 Alexandre Oliva <aoliva@redhat.com>
|
||||||
|
|
||||||
* ltconfig, ltmain.sh, libtool.m4, ltcf-c.sh, ltcf-cxx.sh,
|
* ltconfig, ltmain.sh, libtool.m4, ltcf-c.sh, ltcf-cxx.sh,
|
||||||
|
251
config.guess
vendored
251
config.guess
vendored
@ -3,7 +3,7 @@
|
|||||||
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
||||||
# Free Software Foundation, Inc.
|
# Free Software Foundation, Inc.
|
||||||
|
|
||||||
timestamp='2001-01-17'
|
timestamp='2001-03-16'
|
||||||
|
|
||||||
# This file is free software; you can redistribute it and/or modify it
|
# This file is free software; you can redistribute it and/or modify it
|
||||||
# under the terms of the GNU General Public License as published by
|
# under the terms of the GNU General Public License as published by
|
||||||
@ -33,10 +33,6 @@ timestamp='2001-01-17'
|
|||||||
#
|
#
|
||||||
# The plan is that this can be called by configure scripts if you
|
# The plan is that this can be called by configure scripts if you
|
||||||
# don't specify an explicit build system type.
|
# don't specify an explicit build system type.
|
||||||
#
|
|
||||||
# Only a few systems have been added to this list; please add others
|
|
||||||
# (but try to keep the structure clean).
|
|
||||||
#
|
|
||||||
|
|
||||||
me=`echo "$0" | sed -e 's,.*/,,'`
|
me=`echo "$0" | sed -e 's,.*/,,'`
|
||||||
|
|
||||||
@ -412,7 +408,7 @@ EOF
|
|||||||
EOF
|
EOF
|
||||||
$CC_FOR_BUILD $dummy.c -o $dummy \
|
$CC_FOR_BUILD $dummy.c -o $dummy \
|
||||||
&& ./$dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \
|
&& ./$dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \
|
||||||
&& rm $dummy.c $dummy && exit 0
|
&& rm -f $dummy.c $dummy && exit 0
|
||||||
rm -f $dummy.c $dummy
|
rm -f $dummy.c $dummy
|
||||||
echo mips-mips-riscos${UNAME_RELEASE}
|
echo mips-mips-riscos${UNAME_RELEASE}
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
@ -466,6 +462,14 @@ EOF
|
|||||||
i?86:AIX:*:*)
|
i?86:AIX:*:*)
|
||||||
echo i386-ibm-aix
|
echo i386-ibm-aix
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
|
ia64:AIX:*:*)
|
||||||
|
if [ -x /usr/bin/oslevel ] ; then
|
||||||
|
IBM_REV=`/usr/bin/oslevel`
|
||||||
|
else
|
||||||
|
IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
|
||||||
|
fi
|
||||||
|
echo ${UNAME_MACHINE}-ibm-aix${IBM_REV}
|
||||||
|
exit 0 ;;
|
||||||
*:AIX:2:3)
|
*:AIX:2:3)
|
||||||
if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
|
if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
|
||||||
sed 's/^ //' << EOF >$dummy.c
|
sed 's/^ //' << EOF >$dummy.c
|
||||||
@ -479,7 +483,7 @@ EOF
|
|||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
$CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm $dummy.c $dummy && exit 0
|
$CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm -f $dummy.c $dummy && exit 0
|
||||||
rm -f $dummy.c $dummy
|
rm -f $dummy.c $dummy
|
||||||
echo rs6000-ibm-aix3.2.5
|
echo rs6000-ibm-aix3.2.5
|
||||||
elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
|
elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
|
||||||
@ -488,9 +492,9 @@ EOF
|
|||||||
echo rs6000-ibm-aix3.2
|
echo rs6000-ibm-aix3.2
|
||||||
fi
|
fi
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
*:AIX:*:4)
|
*:AIX:*:[45])
|
||||||
IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | head -1 | awk '{ print $1 }'`
|
IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | head -1 | awk '{ print $1 }'`
|
||||||
if /usr/sbin/lsattr -EHl ${IBM_CPU_ID} | grep POWER >/dev/null 2>&1; then
|
if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
|
||||||
IBM_ARCH=rs6000
|
IBM_ARCH=rs6000
|
||||||
else
|
else
|
||||||
IBM_ARCH=powerpc
|
IBM_ARCH=powerpc
|
||||||
@ -498,23 +502,10 @@ EOF
|
|||||||
if [ -x /usr/bin/oslevel ] ; then
|
if [ -x /usr/bin/oslevel ] ; then
|
||||||
IBM_REV=`/usr/bin/oslevel`
|
IBM_REV=`/usr/bin/oslevel`
|
||||||
else
|
else
|
||||||
IBM_REV=4.${UNAME_RELEASE}
|
IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
|
||||||
fi
|
fi
|
||||||
echo ${IBM_ARCH}-ibm-aix${IBM_REV}
|
echo ${IBM_ARCH}-ibm-aix${IBM_REV}
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
*:AIX:*:5)
|
|
||||||
case "`lsattr -El proc0 -a type -F value`" in
|
|
||||||
PowerPC*) IBM_ARCH=powerpc
|
|
||||||
IBM_MANUF=ibm ;;
|
|
||||||
Itanium) IBM_ARCH=ia64
|
|
||||||
IBM_MANUF=unknown ;;
|
|
||||||
POWER*) IBM_ARCH=power
|
|
||||||
IBM_MANUF=ibm ;;
|
|
||||||
*) IBM_ARCH=powerpc
|
|
||||||
IBM_MANUF=ibm ;;
|
|
||||||
esac
|
|
||||||
echo ${IBM_ARCH}-${IBM_MANUF}-aix${UNAME_VERSION}.${UNAME_RELEASE}
|
|
||||||
exit 0 ;;
|
|
||||||
*:AIX:*:*)
|
*:AIX:*:*)
|
||||||
echo rs6000-ibm-aix
|
echo rs6000-ibm-aix
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
@ -629,7 +620,7 @@ EOF
|
|||||||
exit (0);
|
exit (0);
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
$CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm $dummy.c $dummy && exit 0
|
$CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm -f $dummy.c $dummy && exit 0
|
||||||
rm -f $dummy.c $dummy
|
rm -f $dummy.c $dummy
|
||||||
echo unknown-hitachi-hiuxwe2
|
echo unknown-hitachi-hiuxwe2
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
@ -759,58 +750,36 @@ EOF
|
|||||||
i*86:Minix:*:*)
|
i*86:Minix:*:*)
|
||||||
echo ${UNAME_MACHINE}-pc-minix
|
echo ${UNAME_MACHINE}-pc-minix
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
*:Linux:*:*)
|
arm*:Linux:*:*)
|
||||||
|
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||||
# The BFD linker knows what the default object file format is, so
|
exit 0 ;;
|
||||||
# first see if it will tell us. cd to the root directory to prevent
|
ia64:Linux:*:*)
|
||||||
# problems with other programs or directories called `ld' in the path.
|
echo ${UNAME_MACHINE}-unknown-linux
|
||||||
ld_supported_emulations=`cd /; ld --help 2>&1 \
|
exit 0 ;;
|
||||||
| sed -ne '/supported emulations:/!d
|
m68*:Linux:*:*)
|
||||||
s/[ ][ ]*/ /g
|
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||||
s/.*supported emulations: *//
|
exit 0 ;;
|
||||||
s/ .*//
|
mips:Linux:*:*)
|
||||||
p'`
|
cat >$dummy.c <<EOF
|
||||||
case "$ld_supported_emulations" in
|
#ifdef __cplusplus
|
||||||
*ia64)
|
#include <stdio.h> /* for printf() prototype */
|
||||||
echo "${UNAME_MACHINE}-unknown-linux"
|
int main (int argc, char *argv[]) {
|
||||||
exit 0
|
#else
|
||||||
|
int main (argc, argv) int argc; char *argv[]; {
|
||||||
|
#endif
|
||||||
|
#ifdef __MIPSEB__
|
||||||
|
printf ("%s-unknown-linux-gnu\n", argv[1]);
|
||||||
|
#endif
|
||||||
|
#ifdef __MIPSEL__
|
||||||
|
printf ("%sel-unknown-linux-gnu\n", argv[1]);
|
||||||
|
#endif
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
EOF
|
||||||
|
$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy "${UNAME_MACHINE}" && rm -f $dummy.c $dummy && exit 0
|
||||||
|
rm -f $dummy.c $dummy
|
||||||
;;
|
;;
|
||||||
i?86linux)
|
ppc:Linux:*:*)
|
||||||
echo "${UNAME_MACHINE}-pc-linux-gnuaout"
|
|
||||||
exit 0
|
|
||||||
;;
|
|
||||||
elf_i?86)
|
|
||||||
TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
|
|
||||||
;;
|
|
||||||
i?86coff)
|
|
||||||
echo "${UNAME_MACHINE}-pc-linux-gnucoff"
|
|
||||||
exit 0
|
|
||||||
;;
|
|
||||||
sparclinux)
|
|
||||||
echo "${UNAME_MACHINE}-unknown-linux-gnuaout"
|
|
||||||
exit 0
|
|
||||||
;;
|
|
||||||
elf32_sparc)
|
|
||||||
echo "${UNAME_MACHINE}-unknown-linux-gnu"
|
|
||||||
exit 0
|
|
||||||
;;
|
|
||||||
armlinux)
|
|
||||||
echo "${UNAME_MACHINE}-unknown-linux-gnuaout"
|
|
||||||
exit 0
|
|
||||||
;;
|
|
||||||
elf32arm*)
|
|
||||||
echo "${UNAME_MACHINE}-unknown-linux-gnuoldld"
|
|
||||||
exit 0
|
|
||||||
;;
|
|
||||||
armelf_linux*)
|
|
||||||
echo "${UNAME_MACHINE}-unknown-linux-gnu"
|
|
||||||
exit 0
|
|
||||||
;;
|
|
||||||
m68klinux)
|
|
||||||
echo "${UNAME_MACHINE}-unknown-linux-gnuaout"
|
|
||||||
exit 0
|
|
||||||
;;
|
|
||||||
elf32ppc | elf32ppclinux)
|
|
||||||
# Determine Lib Version
|
# Determine Lib Version
|
||||||
cat >$dummy.c <<EOF
|
cat >$dummy.c <<EOF
|
||||||
#include <features.h>
|
#include <features.h>
|
||||||
@ -825,7 +794,7 @@ main(argc, argv)
|
|||||||
#if defined(__GLIBC__)
|
#if defined(__GLIBC__)
|
||||||
printf("%s %s\n", __libc_version, __libc_release);
|
printf("%s %s\n", __libc_version, __libc_release);
|
||||||
#else
|
#else
|
||||||
printf("unkown\n");
|
printf("unknown\n");
|
||||||
#endif
|
#endif
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
@ -834,26 +803,16 @@ EOF
|
|||||||
$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null
|
$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null
|
||||||
if test "$?" = 0 ; then
|
if test "$?" = 0 ; then
|
||||||
./$dummy | grep 1\.99 > /dev/null
|
./$dummy | grep 1\.99 > /dev/null
|
||||||
if test "$?" = 0 ; then
|
if test "$?" = 0 ; then LIBC="libc1" ; fi
|
||||||
LIBC="libc1"
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
rm -f $dummy.c $dummy
|
rm -f $dummy.c $dummy
|
||||||
echo powerpc-unknown-linux-gnu${LIBC}
|
echo powerpc-unknown-linux-gnu${LIBC}
|
||||||
exit 0
|
exit 0 ;;
|
||||||
;;
|
alpha:Linux:*:*)
|
||||||
shelf_linux)
|
|
||||||
echo "${UNAME_MACHINE}-unknown-linux-gnu"
|
|
||||||
exit 0
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
if test "${UNAME_MACHINE}" = "alpha" ; then
|
|
||||||
cat <<EOF >$dummy.s
|
cat <<EOF >$dummy.s
|
||||||
.data
|
.data
|
||||||
\$Lformat:
|
\$Lformat:
|
||||||
.byte 37,100,45,37,120,10,0 # "%d-%x\n"
|
.byte 37,100,45,37,120,10,0 # "%d-%x\n"
|
||||||
|
|
||||||
.text
|
.text
|
||||||
.globl main
|
.globl main
|
||||||
.align 4
|
.align 4
|
||||||
@ -878,26 +837,13 @@ EOF
|
|||||||
$CC_FOR_BUILD $dummy.s -o $dummy 2>/dev/null
|
$CC_FOR_BUILD $dummy.s -o $dummy 2>/dev/null
|
||||||
if test "$?" = 0 ; then
|
if test "$?" = 0 ; then
|
||||||
case `./$dummy` in
|
case `./$dummy` in
|
||||||
0-0)
|
0-0) UNAME_MACHINE="alpha" ;;
|
||||||
UNAME_MACHINE="alpha"
|
1-0) UNAME_MACHINE="alphaev5" ;;
|
||||||
;;
|
1-1) UNAME_MACHINE="alphaev56" ;;
|
||||||
1-0)
|
1-101) UNAME_MACHINE="alphapca56" ;;
|
||||||
UNAME_MACHINE="alphaev5"
|
2-303) UNAME_MACHINE="alphaev6" ;;
|
||||||
;;
|
2-307) UNAME_MACHINE="alphaev67" ;;
|
||||||
1-1)
|
|
||||||
UNAME_MACHINE="alphaev56"
|
|
||||||
;;
|
|
||||||
1-101)
|
|
||||||
UNAME_MACHINE="alphapca56"
|
|
||||||
;;
|
|
||||||
2-303)
|
|
||||||
UNAME_MACHINE="alphaev6"
|
|
||||||
;;
|
|
||||||
2-307)
|
|
||||||
UNAME_MACHINE="alphaev67"
|
|
||||||
;;
|
|
||||||
esac
|
esac
|
||||||
|
|
||||||
objdump --private-headers $dummy | \
|
objdump --private-headers $dummy | \
|
||||||
grep ld.so.1 > /dev/null
|
grep ld.so.1 > /dev/null
|
||||||
if test "$?" = 0 ; then
|
if test "$?" = 0 ; then
|
||||||
@ -905,57 +851,60 @@ EOF
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
rm -f $dummy.s $dummy
|
rm -f $dummy.s $dummy
|
||||||
echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} ; exit 0
|
echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
|
||||||
elif test "${UNAME_MACHINE}" = "mips" ; then
|
exit 0 ;;
|
||||||
cat >$dummy.c <<EOF
|
parisc:Linux:*:* | hppa:Linux:*:*)
|
||||||
#ifdef __cplusplus
|
|
||||||
#include <stdio.h> /* for printf() prototype */
|
|
||||||
int main (int argc, char *argv[]) {
|
|
||||||
#else
|
|
||||||
int main (argc, argv) int argc; char *argv[]; {
|
|
||||||
#endif
|
|
||||||
#ifdef __MIPSEB__
|
|
||||||
printf ("%s-unknown-linux-gnu\n", argv[1]);
|
|
||||||
#endif
|
|
||||||
#ifdef __MIPSEL__
|
|
||||||
printf ("%sel-unknown-linux-gnu\n", argv[1]);
|
|
||||||
#endif
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
EOF
|
|
||||||
$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy "${UNAME_MACHINE}" && rm $dummy.c $dummy && exit 0
|
|
||||||
rm -f $dummy.c $dummy
|
|
||||||
elif test "${UNAME_MACHINE}" = "s390"; then
|
|
||||||
echo s390-ibm-linux && exit 0
|
|
||||||
elif test "${UNAME_MACHINE}" = "s390x"; then
|
|
||||||
echo s390x-ibm-linux && exit 0
|
|
||||||
elif test "${UNAME_MACHINE}" = "x86_64"; then
|
|
||||||
echo x86_64-unknown-linux-gnu && exit 0
|
|
||||||
elif test "${UNAME_MACHINE}" = "parisc64" -o "${UNAME_MACHINE}" = "hppa64"; then
|
|
||||||
echo hppa64-unknown-linux-gnu && exit 0
|
|
||||||
elif test "${UNAME_MACHINE}" = "parisc" -o "${UNAME_MACHINE}" = "hppa"; then
|
|
||||||
# Look for CPU level
|
# Look for CPU level
|
||||||
case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
|
case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
|
||||||
PA7*)
|
PA7*) echo hppa1.1-unknown-linux-gnu ;;
|
||||||
echo hppa1.1-unknown-linux-gnu
|
PA8*) echo hppa2.0-unknown-linux-gnu ;;
|
||||||
|
*) echo hppa-unknown-linux-gnu ;;
|
||||||
|
esac
|
||||||
|
exit 0 ;;
|
||||||
|
parisc64:Linux:*:* | hppa64:Linux:*:*)
|
||||||
|
echo hppa64-unknown-linux-gnu
|
||||||
|
exit 0 ;;
|
||||||
|
s390:Linux:*:* | s390x:Linux:*:*)
|
||||||
|
echo ${UNAME_MACHINE}-ibm-linux
|
||||||
|
exit 0 ;;
|
||||||
|
sh*:Linux:*:*)
|
||||||
|
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||||
|
exit 0 ;;
|
||||||
|
sparc:Linux:*:* | sparc64:Linux:*:*)
|
||||||
|
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||||
|
exit 0 ;;
|
||||||
|
x86_64:Linux:*:*)
|
||||||
|
echo x86_64-unknown-linux-gnu
|
||||||
|
exit 0 ;;
|
||||||
|
i?86:Linux:*:*)
|
||||||
|
# The BFD linker knows what the default object file format is, so
|
||||||
|
# first see if it will tell us. cd to the root directory to prevent
|
||||||
|
# problems with other programs or directories called `ld' in the path.
|
||||||
|
ld_supported_emulations=`cd /; ld --help 2>&1 \
|
||||||
|
| sed -ne '/supported emulations:/!d
|
||||||
|
s/[ ][ ]*/ /g
|
||||||
|
s/.*supported emulations: *//
|
||||||
|
s/ .*//
|
||||||
|
p'`
|
||||||
|
case "$ld_supported_emulations" in
|
||||||
|
i?86linux)
|
||||||
|
echo "${UNAME_MACHINE}-pc-linux-gnuaout"
|
||||||
|
exit 0
|
||||||
;;
|
;;
|
||||||
PA8*)
|
elf_i?86)
|
||||||
echo hppa2.0-unknown-linux-gnu
|
TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
|
||||||
;;
|
;;
|
||||||
*)
|
i?86coff)
|
||||||
echo hppa-unknown-linux-gnu
|
echo "${UNAME_MACHINE}-pc-linux-gnucoff"
|
||||||
|
exit 0
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
exit 0
|
|
||||||
else
|
|
||||||
# Either a pre-BFD a.out linker (linux-gnuoldld)
|
# Either a pre-BFD a.out linker (linux-gnuoldld)
|
||||||
# or one that does not give us useful --help.
|
# or one that does not give us useful --help.
|
||||||
# GCC wants to distinguish between linux-gnuoldld and linux-gnuaout.
|
# GCC wants to distinguish between linux-gnuoldld and linux-gnuaout.
|
||||||
# If ld does not provide *any* "supported emulations:"
|
# If ld does not provide *any* "supported emulations:"
|
||||||
# that means it is gnuoldld.
|
# that means it is gnuoldld.
|
||||||
test -z "$ld_supported_emulations" \
|
test -z "$ld_supported_emulations" && echo "${UNAME_MACHINE}-pc-linux-gnuoldld" && exit 0
|
||||||
&& echo "${UNAME_MACHINE}-pc-linux-gnuoldld" && exit 0
|
|
||||||
|
|
||||||
case "${UNAME_MACHINE}" in
|
case "${UNAME_MACHINE}" in
|
||||||
i?86)
|
i?86)
|
||||||
VENDOR=pc;
|
VENDOR=pc;
|
||||||
@ -989,10 +938,10 @@ EOF
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy "${UNAME_MACHINE}" && rm $dummy.c $dummy && exit 0
|
$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy "${UNAME_MACHINE}" && rm -f $dummy.c $dummy && exit 0
|
||||||
rm -f $dummy.c $dummy
|
rm -f $dummy.c $dummy
|
||||||
test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0
|
test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0
|
||||||
fi ;;
|
;;
|
||||||
# ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. earlier versions
|
# ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. earlier versions
|
||||||
# are messed up and put the nodename in both sysname and nodename.
|
# are messed up and put the nodename in both sysname and nodename.
|
||||||
i?86:DYNIX/ptx:4*:*)
|
i?86:DYNIX/ptx:4*:*)
|
||||||
@ -1339,7 +1288,7 @@ main ()
|
|||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy && rm $dummy.c $dummy && exit 0
|
$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy && rm -f $dummy.c $dummy && exit 0
|
||||||
rm -f $dummy.c $dummy
|
rm -f $dummy.c $dummy
|
||||||
|
|
||||||
# Apollos put the system type in the environment.
|
# Apollos put the system type in the environment.
|
||||||
|
18
config.sub
vendored
18
config.sub
vendored
@ -3,7 +3,7 @@
|
|||||||
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
||||||
# Free Software Foundation, Inc.
|
# Free Software Foundation, Inc.
|
||||||
|
|
||||||
timestamp='2001-01-12'
|
timestamp='2001-03-19'
|
||||||
|
|
||||||
# This file is (in principle) common to ALL GNU software.
|
# This file is (in principle) common to ALL GNU software.
|
||||||
# The presence of a machine in this file suggests that SOME GNU software
|
# The presence of a machine in this file suggests that SOME GNU software
|
||||||
@ -230,9 +230,10 @@ case $basic_machine in
|
|||||||
| mips16 | mips64 | mipsel | mips64el \
|
| mips16 | mips64 | mipsel | mips64el \
|
||||||
| mips64orion | mips64orionel | mipstx39 | mipstx39el \
|
| mips64orion | mips64orionel | mipstx39 | mipstx39el \
|
||||||
| mips64vr4300 | mips64vr4300el | mips64vr4100 | mips64vr4100el \
|
| mips64vr4300 | mips64vr4300el | mips64vr4100 | mips64vr4100el \
|
||||||
| mips64vr5000 | miprs64vr5000el | mcore \
|
| mips64vr5000 | miprs64vr5000el | mcore | s390 | s390x \
|
||||||
| sparc | sparclet | sparclite | sparc64 | sparcv9 | v850 | c4x \
|
| sparc | sparclet | sparclite | sparc64 | sparcv9 | v850 | c4x \
|
||||||
| thumb | d10v | d30v | fr30 | avr | openrisc)
|
| thumb | d10v | d30v | fr30 | avr | openrisc | tic80 \
|
||||||
|
| pj | pjl | h8500)
|
||||||
basic_machine=$basic_machine-unknown
|
basic_machine=$basic_machine-unknown
|
||||||
;;
|
;;
|
||||||
m6811 | m68hc11 | m6812 | m68hc12)
|
m6811 | m68hc11 | m6812 | m68hc12)
|
||||||
@ -240,7 +241,7 @@ case $basic_machine in
|
|||||||
basic_machine=$basic_machine-unknown
|
basic_machine=$basic_machine-unknown
|
||||||
os=-none
|
os=-none
|
||||||
;;
|
;;
|
||||||
m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | z8k | v70 | h8500 | w65 | pj | pjl)
|
m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | z8k | v70 | w65)
|
||||||
;;
|
;;
|
||||||
|
|
||||||
# We use `pc' rather than `unknown'
|
# We use `pc' rather than `unknown'
|
||||||
@ -275,9 +276,10 @@ case $basic_machine in
|
|||||||
| mips64vr4100-* | mips64vr4100el-* | mips64vr4300-* | mips64vr4300el-* \
|
| mips64vr4100-* | mips64vr4100el-* | mips64vr4300-* | mips64vr4300el-* \
|
||||||
| mipstx39-* | mipstx39el-* | mcore-* \
|
| mipstx39-* | mipstx39el-* | mcore-* \
|
||||||
| f30[01]-* | f700-* | s390-* | s390x-* | sv1-* | t3e-* \
|
| f30[01]-* | f700-* | s390-* | s390x-* | sv1-* | t3e-* \
|
||||||
|
| [cjt]90-* \
|
||||||
| m88110-* | m680[01234]0-* | m683?2-* | m68360-* | z8k-* | d10v-* \
|
| m88110-* | m680[01234]0-* | m683?2-* | m68360-* | z8k-* | d10v-* \
|
||||||
| thumb-* | v850-* | d30v-* | tic30-* | c30-* | fr30-* \
|
| thumb-* | v850-* | d30v-* | tic30-* | tic80-* | c30-* | fr30-* \
|
||||||
| bs2000-* | tic54x-* | c54x-* | x86_64-*)
|
| bs2000-* | tic54x-* | c54x-* | x86_64-* | pj-* | pjl-*)
|
||||||
;;
|
;;
|
||||||
# Recognize the various machine names and aliases which stand
|
# Recognize the various machine names and aliases which stand
|
||||||
# for a CPU type and a company and sometimes even an OS.
|
# for a CPU type and a company and sometimes even an OS.
|
||||||
@ -368,8 +370,8 @@ case $basic_machine in
|
|||||||
basic_machine=cray2-cray
|
basic_machine=cray2-cray
|
||||||
os=-unicos
|
os=-unicos
|
||||||
;;
|
;;
|
||||||
[ctj]90-cray)
|
[cjt]90)
|
||||||
basic_machine=c90-cray
|
basic_machine=${basic_machine}-cray
|
||||||
os=-unicos
|
os=-unicos
|
||||||
;;
|
;;
|
||||||
crds | unos)
|
crds | unos)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user