~ubuntu-branches/ubuntu/oneiric/sudo/oneiric-updates

« back to all changes in this revision

Viewing changes to config.guess

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2008-06-18 11:41:27 UTC
  • mfrom: (1.2.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20080618114127-8gov9f4vxfzlr0qr
Tags: 1.6.9p15-2ubuntu1
* Merge from debian unstable, remaining changes:
 - logging.c: Ignore SIGPIPE when creating an error email, so that non-fatal
   error messages (like "unable to resolve local host name") do not lead to
   being killed with SIGPIPE if /usr/bin/sendmail does not exist or crashes.
   (LP #32906, http://www.gratisoft.us/bugzilla/show_bug.cgi?id=285)
 - debian/postinst: put "NOPASSWD" example at the bottom, so that
   uncommenting it will actually work (later entries override former ones).
   (LP #131399, Debian #479616)
 - debian/rules: Disable lecture, enable tty_tickets by default. (Ubuntu
   specific)
 - Add debian/sudo_root.8: Explanation of root handling through sudo.
   Install it in debian/rules. (Ubuntu specific)
 - sudo.c: If the user successfully authenticated and he is in the 'admin'
   group, then create a stamp ~/.sudo_as_admin_successful. Our default bash
   profile checks for this and displays a short intro about sudo if the
   flag is not present. (Ubuntu specific)
 - env.c: Add "http_proxy" to initial_keepenv_table, so that it is kept
   for "sudo apt-get ...". (Ubuntu specific EBW hack, should disappear at
   some point)
* debian/{rules,postinst}: Disable init script installation. Debian
  reintroduced it because /var/run tmpfs is not the default there, but has
  been on Ubuntu for ages.

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, 2008
 
5
#   Free Software Foundation, Inc.
6
6
 
7
 
timestamp='2007-07-22'
 
7
timestamp='2008-01-23'
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, 2002, 2003, 2004, 2005
60
 
Free Software Foundation, Inc.
 
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.
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:*:[45])
 
535
    *:AIX:*:[456])
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 ;;
802
805
        esac ;;
803
806
    [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
804
807
        echo i${UNAME_MACHINE}-pc-mks
833
836
        echo ${UNAME_MACHINE}-pc-minix
834
837
        exit ;;
835
838
    arm*:Linux:*:*)
836
 
        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
837
847
        exit ;;
838
848
    avr32*:Linux:*:*)
839
849
        echo ${UNAME_MACHINE}-unknown-linux-gnu
954
964
    x86_64:Linux:*:*)
955
965
        echo x86_64-unknown-linux-gnu
956
966
        exit ;;
957
 
    xtensa:Linux:*:*)
958
 
        echo xtensa-unknown-linux-gnu
 
967
    xtensa*:Linux:*:*)
 
968
        echo ${UNAME_MACHINE}-unknown-linux-gnu
959
969
        exit ;;
960
970
    i*86:Linux:*:*)
961
971
        # The BFD linker knows what the default object file format is, so
1474
1484
the operating system you are using. It is advised that you
1475
1485
download the most up to date version of the config scripts from
1476
1486
 
1477
 
  http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess
 
1487
  http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
1478
1488
and
1479
 
  http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub
 
1489
  http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
1480
1490
 
1481
1491
If the version you run ($0) is already up to date, please
1482
1492
send the following data and any information you think might be