~ubuntu-branches/ubuntu/precise/rpm/precise

« back to all changes in this revision

Viewing changes to config.guess

  • Committer: Bazaar Package Importer
  • Author(s): Loic Minier
  • Date: 2008-12-21 17:49:23 UTC
  • Revision ID: james.westby@ubuntu.com-20081221174923-k9du2lfj9cotahku
Tags: 4.4.2.3-2
* Remove Anand Kumria from Uploader; thanks for your work!
* Add Vcs-Git and Vcs-Browser fields.
* Wrap build-deps and deps.
* Bump Standards-Version to 3.8.0.
* Drop obsolete debian/pycompat.
* Add debian/gbp.conf for git-buildpackage.
* New patch, 22_spelling-fixes, fixes typo in doc/rpm.8 man page; from
  Ubuntu; LP: #73355.
* Refresh patches 02-hkp-disable, 09-prereq, 14-work-on-debian64,
  17-dont-be-redhat, 21-kfreebsd to apply cleanly.
* Drop source-contains-CVS-dir lintian overrides as we use tarballs and we
  should make dist a tarball or at least a CVS export if we pull a snapshot.
* Build-dep on autotools-dev and drop outdated-autotools-helper-file lintian
  overrides.
* New patch, 40_fix-zlib-include-in-file, fixes zlib -I flag breaking the
  build of the internal "file" copy when relibtoolized.
* New patch, 50_internal-popt-config-flag, adds a --with-internal-popt
  configure flag to allow forcing the use of an external popt.
* New patch, 68_autogen-fixes, calls "autoreconf -fi" instead of
  ./autogen.sh in file/ and cleans up some junk files after the autogens
  (autom4te.cache and ~ backups).
* New patch, 70_autogen, run ./autogen --noconfigure.
* Pass --with-internal-popt=no to configure.
* Kill plenty of manual autotools cleanup from rules as well as popt
  removal.
* Drop autoconf/automake/libtoolize invocation from rules.
* Use "touch $@" instead of repeating target name.
* Don't duplicate the way to call quilt and pass it --quiltrc /dev/null.
* Pass -s to dh_* in binary-indep.
* Update download URL in copyright.
* Drop DH_VERBOSE=1.
* Set configure flags via a new var, configure_flags, and only pass --host
  to configure if DEB_HOST_GNU_TYPE and DEB_BUILD_GNU_TYPE differ.
* Drop obsolete README.Debian note related to rpm 4.1 behavior change.

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-05-17'
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."
330
330
    sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
331
331
        echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
332
332
        exit ;;
333
 
    i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
 
333
    i86pc:SunOS:5.*:* | ix86xen:SunOS:5.*:*)
334
334
        echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
335
335
        exit ;;
336
336
    sun4*:SunOS:6*:*)
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
793
793
        exit ;;
794
794
    *:Interix*:[3456]*)
795
795
        case ${UNAME_MACHINE} in
796
 
            x86)
 
796
            x86) 
797
797
                echo i586-pc-interix${UNAME_RELEASE}
798
798
                exit ;;
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