~peter-pearse/ubuntu/natty/guile-1.8/prop001

« back to all changes in this revision

Viewing changes to guile-readline/config.guess

  • Committer: Bazaar Package Importer
  • Author(s): Rob Browning
  • Date: 2008-05-10 12:18:50 UTC
  • mfrom: (1.2.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20080510121850-mwi7tobbfkat03vr
Tags: 1.8.5+1-1
* Incorporate new upstream stable release.

* Fix gcc 4.3 compilation problems (fixed upstream now).  Thanks to
  Alexander Schmehl <tolimar@debian.org> for the previous, related
  1.8.4+1-2.1 NMU, and to Maximiliano Curia and Daniel Schepler for the
  original patch. (closes: #462384, #466778)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Attempt to guess a canonical system name.
3
3
#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4
 
#   2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
5
 
#   Inc.
 
4
#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
 
5
#   Free Software Foundation, Inc.
6
6
 
7
 
timestamp='2006-07-02'
 
7
timestamp='2008-01-07'
8
8
 
9
9
# This file is free software; you can redistribute it and/or modify it
10
10
# under the terms of the GNU General Public License as published by
161
161
            arm*) machine=arm-unknown ;;
162
162
            sh3el) machine=shl-unknown ;;
163
163
            sh3eb) machine=sh-unknown ;;
 
164
            sh5el) machine=sh5le-unknown ;;
164
165
            *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
165
166
        esac
166
167
        # The Operating System including object format, if it has switched
329
330
    sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
330
331
        echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
331
332
        exit ;;
332
 
    i86pc:SunOS:5.*:*)
 
333
    i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
333
334
        echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
334
335
        exit ;;
335
336
    sun4*:SunOS:6*:*)
531
532
                echo rs6000-ibm-aix3.2
532
533
        fi
533
534
        exit ;;
534
 
    *:AIX:*:[45])
 
535
    *:AIX:*:[456])
535
536
        IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
536
537
        if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
537
538
                IBM_ARCH=rs6000
780
781
    i*:CYGWIN*:*)
781
782
        echo ${UNAME_MACHINE}-pc-cygwin
782
783
        exit ;;
783
 
    i*:MINGW*:*)
 
784
    *:MINGW*:*)
784
785
        echo ${UNAME_MACHINE}-pc-mingw32
785
786
        exit ;;
786
787
    i*:windows32*:*)
790
791
    i*:PW*:*)
791
792
        echo ${UNAME_MACHINE}-pc-pw32
792
793
        exit ;;
793
 
    x86:Interix*:[3456]*)
794
 
        echo i586-pc-interix${UNAME_RELEASE}
795
 
        exit ;;
796
 
    EM64T:Interix*:[3456]*)
797
 
        echo x86_64-unknown-interix${UNAME_RELEASE}
798
 
        exit ;;
 
794
    *:Interix*:[3456]*)
 
795
        case ${UNAME_MACHINE} in
 
796
            x86)
 
797
                echo i586-pc-interix${UNAME_RELEASE}
 
798
                exit ;;
 
799
            EM64T | authenticamd)
 
800
                echo x86_64-unknown-interix${UNAME_RELEASE}
 
801
                exit ;;
 
802
            IA64)
 
803
                echo ia64-unknown-interix${UNAME_RELEASE}
 
804
                exit ;;
 
805
        esac ;;
799
806
    [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
800
807
        echo i${UNAME_MACHINE}-pc-mks
801
808
        exit ;;
829
836
        echo ${UNAME_MACHINE}-pc-minix
830
837
        exit ;;
831
838
    arm*:Linux:*:*)
832
 
        echo ${UNAME_MACHINE}-unknown-linux-gnu
 
839
        eval $set_cc_for_build
 
840
        if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
 
841
            | grep -q __ARM_EABI__
 
842
        then
 
843
            echo ${UNAME_MACHINE}-unknown-linux-gnu
 
844
        else
 
845
            echo ${UNAME_MACHINE}-unknown-linux-gnueabi
 
846
        fi
833
847
        exit ;;
834
848
    avr32*:Linux:*:*)
835
849
        echo ${UNAME_MACHINE}-unknown-linux-gnu
950
964
    x86_64:Linux:*:*)
951
965
        echo x86_64-unknown-linux-gnu
952
966
        exit ;;
 
967
    xtensa*:Linux:*:*)
 
968
        echo ${UNAME_MACHINE}-unknown-linux-gnu
 
969
        exit ;;
953
970
    i*86:Linux:*:*)
954
971
        # The BFD linker knows what the default object file format is, so
955
972
        # first see if it will tell us. cd to the root directory to prevent
1208
1225
    SX-6:SUPER-UX:*:*)
1209
1226
        echo sx6-nec-superux${UNAME_RELEASE}
1210
1227
        exit ;;
 
1228
    SX-7:SUPER-UX:*:*)
 
1229
        echo sx7-nec-superux${UNAME_RELEASE}
 
1230
        exit ;;
 
1231
    SX-8:SUPER-UX:*:*)
 
1232
        echo sx8-nec-superux${UNAME_RELEASE}
 
1233
        exit ;;
 
1234
    SX-8R:SUPER-UX:*:*)
 
1235
        echo sx8r-nec-superux${UNAME_RELEASE}
 
1236
        exit ;;
1211
1237
    Power*:Rhapsody:*:*)
1212
1238
        echo powerpc-apple-rhapsody${UNAME_RELEASE}
1213
1239
        exit ;;