ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/utils/config.guess
(Generate patch)

Comparing deliantra/server/utils/config.guess (file contents):
Revision 1.6 by root, Fri Sep 8 16:51:44 2006 UTC vs.
Revision 1.8 by pippijn, Tue Jul 10 07:35:49 2007 UTC

1#! /bin/sh 1#! /bin/sh
2# Attempt to guess a canonical system name. 2# Attempt to guess a canonical system name.
3# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 3# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4# 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 4# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
5# Inc.
5 6
6timestamp='2006-02-23' 7timestamp='2007-03-06'
7 8
8# This file is free software; you can redistribute it and/or modify it 9# This file is free software; you can redistribute it and/or modify it
9# under the terms of the GNU General Public License as published by 10# under the terms of the GNU General Public License as published by
10# the Free Software Foundation; either version 2 of the License, or 11# the Free Software Foundation; either version 2 of the License, or
11# (at your option) any later version. 12# (at your option) any later version.
158 case "${UNAME_MACHINE_ARCH}" in 159 case "${UNAME_MACHINE_ARCH}" in
159 armeb) machine=armeb-unknown ;; 160 armeb) machine=armeb-unknown ;;
160 arm*) machine=arm-unknown ;; 161 arm*) machine=arm-unknown ;;
161 sh3el) machine=shl-unknown ;; 162 sh3el) machine=shl-unknown ;;
162 sh3eb) machine=sh-unknown ;; 163 sh3eb) machine=sh-unknown ;;
164 sh5el) machine=sh5le-unknown ;;
163 *) machine=${UNAME_MACHINE_ARCH}-unknown ;; 165 *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
164 esac 166 esac
165 # The Operating System including object format, if it has switched 167 # The Operating System including object format, if it has switched
166 # to ELF recently, or will in the future. 168 # to ELF recently, or will in the future.
167 case "${UNAME_MACHINE_ARCH}" in 169 case "${UNAME_MACHINE_ARCH}" in
208 exit ;; 210 exit ;;
209 *:SolidBSD:*:*) 211 *:SolidBSD:*:*)
210 echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE} 212 echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE}
211 exit ;; 213 exit ;;
212 macppc:MirBSD:*:*) 214 macppc:MirBSD:*:*)
213 echo powerppc-unknown-mirbsd${UNAME_RELEASE} 215 echo powerpc-unknown-mirbsd${UNAME_RELEASE}
214 exit ;; 216 exit ;;
215 *:MirBSD:*:*) 217 *:MirBSD:*:*)
216 echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} 218 echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
217 exit ;; 219 exit ;;
218 alpha:OSF1:*:*) 220 alpha:OSF1:*:*)
768 exit ;; 770 exit ;;
769 *:FreeBSD:*:*) 771 *:FreeBSD:*:*)
770 case ${UNAME_MACHINE} in 772 case ${UNAME_MACHINE} in
771 pc98) 773 pc98)
772 echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; 774 echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
775 amd64)
776 echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
773 *) 777 *)
774 echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; 778 echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
775 esac 779 esac
776 exit ;; 780 exit ;;
777 i*:CYGWIN*:*) 781 i*:CYGWIN*:*)
778 echo ${UNAME_MACHINE}-pc-cygwin 782 echo ${UNAME_MACHINE}-pc-cygwin
779 exit ;; 783 exit ;;
780 i*:MINGW*:*) 784 *:MINGW*:*)
781 echo ${UNAME_MACHINE}-pc-mingw32
782 exit ;;
783 i*:MSYS_NT-*:*:*)
784 echo ${UNAME_MACHINE}-pc-mingw32 785 echo ${UNAME_MACHINE}-pc-mingw32
785 exit ;; 786 exit ;;
786 i*:windows32*:*) 787 i*:windows32*:*)
787 # uname -m includes "-pc" on this system. 788 # uname -m includes "-pc" on this system.
788 echo ${UNAME_MACHINE}-mingw32 789 echo ${UNAME_MACHINE}-mingw32
789 exit ;; 790 exit ;;
790 i*:PW*:*) 791 i*:PW*:*)
791 echo ${UNAME_MACHINE}-pc-pw32 792 echo ${UNAME_MACHINE}-pc-pw32
792 exit ;; 793 exit ;;
793 x86:Interix*:[345]*) 794 *:Interix*:[3456]*)
795 case ${UNAME_MACHINE} in
796 x86)
794 echo i586-pc-interix${UNAME_RELEASE} 797 echo i586-pc-interix${UNAME_RELEASE}
795 exit ;; 798 exit ;;
796 EM64T:Interix*:[345]*) 799 EM64T | authenticamd)
797 echo x86_64-unknown-interix${UNAME_RELEASE} 800 echo x86_64-unknown-interix${UNAME_RELEASE}
798 exit ;; 801 exit ;;
802 esac ;;
799 [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) 803 [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
800 echo i${UNAME_MACHINE}-pc-mks 804 echo i${UNAME_MACHINE}-pc-mks
801 exit ;; 805 exit ;;
802 i*:Windows_NT*:* | Pentium*:Windows_NT*:*) 806 i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
803 # How do we know it's Interix rather than the generic POSIX subsystem? 807 # How do we know it's Interix rather than the generic POSIX subsystem?
827 exit ;; 831 exit ;;
828 i*86:Minix:*:*) 832 i*86:Minix:*:*)
829 echo ${UNAME_MACHINE}-pc-minix 833 echo ${UNAME_MACHINE}-pc-minix
830 exit ;; 834 exit ;;
831 arm*:Linux:*:*) 835 arm*:Linux:*:*)
836 echo ${UNAME_MACHINE}-unknown-linux-gnu
837 exit ;;
838 avr32*:Linux:*:*)
832 echo ${UNAME_MACHINE}-unknown-linux-gnu 839 echo ${UNAME_MACHINE}-unknown-linux-gnu
833 exit ;; 840 exit ;;
834 cris:Linux:*:*) 841 cris:Linux:*:*)
835 echo cris-axis-linux-gnu 842 echo cris-axis-linux-gnu
836 exit ;; 843 exit ;;
945 echo ${UNAME_MACHINE}-dec-linux-gnu 952 echo ${UNAME_MACHINE}-dec-linux-gnu
946 exit ;; 953 exit ;;
947 x86_64:Linux:*:*) 954 x86_64:Linux:*:*)
948 echo x86_64-unknown-linux-gnu 955 echo x86_64-unknown-linux-gnu
949 exit ;; 956 exit ;;
957 xtensa:Linux:*:*)
958 echo xtensa-unknown-linux-gnu
959 exit ;;
950 i*86:Linux:*:*) 960 i*86:Linux:*:*)
951 # The BFD linker knows what the default object file format is, so 961 # The BFD linker knows what the default object file format is, so
952 # first see if it will tell us. cd to the root directory to prevent 962 # first see if it will tell us. cd to the root directory to prevent
953 # problems with other programs or directories called `ld' in the path. 963 # problems with other programs or directories called `ld' in the path.
954 # Set LC_ALL=C to ensure ld outputs messages in English. 964 # Set LC_ALL=C to ensure ld outputs messages in English.
987 # endif 997 # endif
988 # else 998 # else
989 LIBC=gnulibc1 999 LIBC=gnulibc1
990 # endif 1000 # endif
991 #else 1001 #else
992 #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__sun) 1002 #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC)
993 LIBC=gnu 1003 LIBC=gnu
994 #else 1004 #else
995 LIBC=gnuaout 1005 LIBC=gnuaout
996 #endif 1006 #endif
997 #endif 1007 #endif
1203 echo sx5-nec-superux${UNAME_RELEASE} 1213 echo sx5-nec-superux${UNAME_RELEASE}
1204 exit ;; 1214 exit ;;
1205 SX-6:SUPER-UX:*:*) 1215 SX-6:SUPER-UX:*:*)
1206 echo sx6-nec-superux${UNAME_RELEASE} 1216 echo sx6-nec-superux${UNAME_RELEASE}
1207 exit ;; 1217 exit ;;
1218 SX-7:SUPER-UX:*:*)
1219 echo sx7-nec-superux${UNAME_RELEASE}
1220 exit ;;
1221 SX-8:SUPER-UX:*:*)
1222 echo sx8-nec-superux${UNAME_RELEASE}
1223 exit ;;
1224 SX-8R:SUPER-UX:*:*)
1225 echo sx8r-nec-superux${UNAME_RELEASE}
1226 exit ;;
1208 Power*:Rhapsody:*:*) 1227 Power*:Rhapsody:*:*)
1209 echo powerpc-apple-rhapsody${UNAME_RELEASE} 1228 echo powerpc-apple-rhapsody${UNAME_RELEASE}
1210 exit ;; 1229 exit ;;
1211 *:Rhapsody:*:*) 1230 *:Rhapsody:*:*)
1212 echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} 1231 echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines