~ubuntu-branches/ubuntu/jaunty/gimp/jaunty-security

« back to all changes in this revision

Viewing changes to config.guess

  • Committer: Bazaar Package Importer
  • Author(s): Pedro Fragoso
  • Date: 2008-08-22 11:50:05 UTC
  • mfrom: (0.1.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 34.
  • Revision ID: james.westby@ubuntu.com-20080822115005-yxj5svf3v9x1mkr7
Tags: upstream-2.4.7
ImportĀ upstreamĀ versionĀ 2.4.7

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, 2007, 2008
5
 
#   Free Software Foundation, Inc.
 
4
#   2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
 
5
#   Inc.
6
6
 
7
 
timestamp='2008-01-23'
 
7
timestamp='2007-07-22'
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
56
56
GNU config.guess ($timestamp)
57
57
 
58
58
Originally written by Per Bothner.
59
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
60
 
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 
59
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
 
60
Free Software Foundation, Inc.
61
61
 
62
62
This is free software; see the source for copying conditions.  There is NO
63
63
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
532
532
                echo rs6000-ibm-aix3.2
533
533
        fi
534
534
        exit ;;
535
 
    *:AIX:*:[456])
 
535
    *:AIX:*:[45])
536
536
        IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
537
537
        if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
538
538
                IBM_ARCH=rs6000
799
799
            EM64T | authenticamd)
800
800
                echo x86_64-unknown-interix${UNAME_RELEASE}
801
801
                exit ;;
802
 
            IA64)
803
 
                echo ia64-unknown-interix${UNAME_RELEASE}
804
 
                exit ;;
805
802
        esac ;;
806
803
    [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
807
804
        echo i${UNAME_MACHINE}-pc-mks
836
833
        echo ${UNAME_MACHINE}-pc-minix
837
834
        exit ;;
838
835
    arm*:Linux:*:*)
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
 
836
        echo ${UNAME_MACHINE}-unknown-linux-gnu
847
837
        exit ;;
848
838
    avr32*:Linux:*:*)
849
839
        echo ${UNAME_MACHINE}-unknown-linux-gnu
964
954
    x86_64:Linux:*:*)
965
955
        echo x86_64-unknown-linux-gnu
966
956
        exit ;;
967
 
    xtensa*:Linux:*:*)
968
 
        echo ${UNAME_MACHINE}-unknown-linux-gnu
 
957
    xtensa:Linux:*:*)
 
958
        echo xtensa-unknown-linux-gnu
969
959
        exit ;;
970
960
    i*86:Linux:*:*)
971
961
        # The BFD linker knows what the default object file format is, so
1484
1474
the operating system you are using. It is advised that you
1485
1475
download the most up to date version of the config scripts from
1486
1476
 
1487
 
  http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
 
1477
  http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess
1488
1478
and
1489
 
  http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
 
1479
  http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub
1490
1480
 
1491
1481
If the version you run ($0) is already up to date, please
1492
1482
send the following data and any information you think might be