Ignore:
Timestamp:
Nov 14, 2016, 6:30:27 PM (3 years ago)
Author:
mabarracus
Message:

Updated changelog

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lightdm-gtk-greeter/trunk/fuentes/config.guess

    r2362 r2859  
    11#! /bin/sh
    22# Attempt to guess a canonical system name.
    3 #   Copyright 1992-2014 Free Software Foundation, Inc.
    4 
    5 timestamp='2014-03-23'
     3#   Copyright 1992-2015 Free Software Foundation, Inc.
     4
     5timestamp='2015-08-20'
    66
    77# This file is free software; you can redistribute it and/or modify it
     
    2525# of the GNU General Public License, version 3 ("GPLv3").
    2626#
    27 # Originally written by Per Bothner.
     27# Originally written by Per Bothner; maintained since 2000 by Ben Elliston.
    2828#
    2929# You can get the latest version of this script from:
    3030# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
    3131#
    32 # Please send patches with a ChangeLog entry to config-patches@gnu.org.
     32# Please send patches to <config-patches@gnu.org>.
    3333
    3434
     
    5151
    5252Originally written by Per Bothner.
    53 Copyright 1992-2014 Free Software Foundation, Inc.
     53Copyright 1992-2015 Free Software Foundation, Inc.
    5454
    5555This is free software; see the source for copying conditions.  There is NO
     
    169169        # portion of the name.  We always set it to "unknown".
    170170        sysctl="sysctl -n hw.machine_arch"
    171         UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \
    172             /usr/sbin/$sysctl 2>/dev/null || echo unknown)`
     171        UNAME_MACHINE_ARCH=`(uname -p 2>/dev/null || \
     172            /sbin/$sysctl 2>/dev/null || \
     173            /usr/sbin/$sysctl 2>/dev/null || \
     174            echo unknown)`
    173175        case "${UNAME_MACHINE_ARCH}" in
    174176            armeb) machine=armeb-unknown ;;
     
    177179            sh3eb) machine=sh-unknown ;;
    178180            sh5el) machine=sh5le-unknown ;;
     181            earmv*)
     182                arch=`echo ${UNAME_MACHINE_ARCH} | sed -e 's,^e\(armv[0-9]\).*$,\1,'`
     183                endian=`echo ${UNAME_MACHINE_ARCH} | sed -ne 's,^.*\(eb\)$,\1,p'`
     184                machine=${arch}${endian}-unknown
     185                ;;
    179186            *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
    180187        esac
     
    182189        # to ELF recently, or will in the future.
    183190        case "${UNAME_MACHINE_ARCH}" in
    184             arm*|i386|m68k|ns32k|sh3*|sparc|vax)
     191            arm*|earm*|i386|m68k|ns32k|sh3*|sparc|vax)
    185192                eval $set_cc_for_build
    186193                if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
     
    198205                ;;
    199206        esac
     207        # Determine ABI tags.
     208        case "${UNAME_MACHINE_ARCH}" in
     209            earm*)
     210                expr='s/^earmv[0-9]/-eabi/;s/eb$//'
     211                abi=`echo ${UNAME_MACHINE_ARCH} | sed -e "$expr"`
     212                ;;
     213        esac
    200214        # The OS release
    201215        # Debian GNU/NetBSD machines have a different userland, and
     
    208222                ;;
    209223            *)
    210                 release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
     224                release=`echo ${UNAME_RELEASE} | sed -e 's/[-_].*//' | cut -d. -f1,2`
    211225                ;;
    212226        esac
     
    214228        # contains redundant information, the shorter form:
    215229        # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
    216         echo "${machine}-${os}${release}"
     230        echo "${machine}-${os}${release}${abi}"
    217231        exit ;;
    218232    *:Bitrig:*:*)
     
    235249    *:MirBSD:*:*)
    236250        echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
     251        exit ;;
     252    *:Sortix:*:*)
     253        echo ${UNAME_MACHINE}-unknown-sortix
    237254        exit ;;
    238255    alpha:OSF1:*:*)
     
    580597                IBM_ARCH=powerpc
    581598        fi
    582         if [ -x /usr/bin/oslevel ] ; then
    583                 IBM_REV=`/usr/bin/oslevel`
     599        if [ -x /usr/bin/lslpp ] ; then
     600                IBM_REV=`/usr/bin/lslpp -Lqc bos.rte.libc |
     601                           awk -F: '{ print $3 }' | sed s/[0-9]*$/0/`
    584602        else
    585603                IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
     
    933951        echo ${UNAME_MACHINE}-axis-linux-${LIBC}
    934952        exit ;;
     953    e2k:Linux:*:*)
     954        echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
     955        exit ;;
    935956    frv:Linux:*:*)
    936957        echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
     
    10211042        exit ;;
    10221043    x86_64:Linux:*:*)
    1023         echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
     1044        echo ${UNAME_MACHINE}-pc-linux-${LIBC}
    10241045        exit ;;
    10251046    xtensa*:Linux:*:*)
Note: See TracChangeset for help on using the changeset viewer.