Ignore:
Timestamp:
Sep 2, 2016, 11:21:28 AM (3 years ago)
Author:
mabarracus
Message:

changed modified files

File:
1 edited

Legend:

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

    r2361 r2362  
    11#! /bin/sh
    22# Attempt to guess a canonical system name.
    3 #   Copyright 1992-2015 Free Software Foundation, Inc.
    4 
    5 timestamp='2015-08-20'
     3#   Copyright 1992-2014 Free Software Foundation, Inc.
     4
     5timestamp='2014-03-23'
    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; maintained since 2000 by Ben Elliston.
     27# Originally written by Per Bothner.
    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 to <config-patches@gnu.org>.
     32# Please send patches with a ChangeLog entry to config-patches@gnu.org.
    3333
    3434
     
    5151
    5252Originally written by Per Bothner.
    53 Copyright 1992-2015 Free Software Foundation, Inc.
     53Copyright 1992-2014 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=`(uname -p 2>/dev/null || \
    172             /sbin/$sysctl 2>/dev/null || \
    173             /usr/sbin/$sysctl 2>/dev/null || \
    174             echo unknown)`
     171        UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \
     172            /usr/sbin/$sysctl 2>/dev/null || echo unknown)`
    175173        case "${UNAME_MACHINE_ARCH}" in
    176174            armeb) machine=armeb-unknown ;;
     
    179177            sh3eb) machine=sh-unknown ;;
    180178            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                 ;;
    186179            *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
    187180        esac
     
    189182        # to ELF recently, or will in the future.
    190183        case "${UNAME_MACHINE_ARCH}" in
    191             arm*|earm*|i386|m68k|ns32k|sh3*|sparc|vax)
     184            arm*|i386|m68k|ns32k|sh3*|sparc|vax)
    192185                eval $set_cc_for_build
    193186                if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
     
    205198                ;;
    206199        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
    214200        # The OS release
    215201        # Debian GNU/NetBSD machines have a different userland, and
     
    222208                ;;
    223209            *)
    224                 release=`echo ${UNAME_RELEASE} | sed -e 's/[-_].*//' | cut -d. -f1,2`
     210                release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
    225211                ;;
    226212        esac
     
    228214        # contains redundant information, the shorter form:
    229215        # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
    230         echo "${machine}-${os}${release}${abi}"
     216        echo "${machine}-${os}${release}"
    231217        exit ;;
    232218    *:Bitrig:*:*)
     
    249235    *:MirBSD:*:*)
    250236        echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
    251         exit ;;
    252     *:Sortix:*:*)
    253         echo ${UNAME_MACHINE}-unknown-sortix
    254237        exit ;;
    255238    alpha:OSF1:*:*)
     
    597580                IBM_ARCH=powerpc
    598581        fi
    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/`
     582        if [ -x /usr/bin/oslevel ] ; then
     583                IBM_REV=`/usr/bin/oslevel`
    602584        else
    603585                IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
     
    951933        echo ${UNAME_MACHINE}-axis-linux-${LIBC}
    952934        exit ;;
    953     e2k:Linux:*:*)
    954         echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
    955         exit ;;
    956935    frv:Linux:*:*)
    957936        echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
     
    10421021        exit ;;
    10431022    x86_64:Linux:*:*)
    1044         echo ${UNAME_MACHINE}-pc-linux-${LIBC}
     1023        echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
    10451024        exit ;;
    10461025    xtensa*:Linux:*:*)
Note: See TracChangeset for help on using the changeset viewer.