Blame config.guess

Packit Service a9384c
#! /bin/sh
Packit Service a9384c
# Attempt to guess a canonical system name.
Packit Service a9384c
#   Copyright 1992-2014 Free Software Foundation, Inc.
Packit Service a9384c
Packit Service a9384c
timestamp='2014-03-23'
Packit Service a9384c
Packit Service a9384c
# This file is free software; you can redistribute it and/or modify it
Packit Service a9384c
# under the terms of the GNU General Public License as published by
Packit Service a9384c
# the Free Software Foundation; either version 3 of the License, or
Packit Service a9384c
# (at your option) any later version.
Packit Service a9384c
#
Packit Service a9384c
# This program is distributed in the hope that it will be useful, but
Packit Service a9384c
# WITHOUT ANY WARRANTY; without even the implied warranty of
Packit Service a9384c
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit Service a9384c
# General Public License for more details.
Packit Service a9384c
#
Packit Service a9384c
# You should have received a copy of the GNU General Public License
Packit Service a9384c
# along with this program; if not, see <http://www.gnu.org/licenses/>.
Packit Service a9384c
#
Packit Service a9384c
# As a special exception to the GNU General Public License, if you
Packit Service a9384c
# distribute this file as part of a program that contains a
Packit Service a9384c
# configuration script generated by Autoconf, you may include it under
Packit Service a9384c
# the same distribution terms that you use for the rest of that
Packit Service a9384c
# program.  This Exception is an additional permission under section 7
Packit Service a9384c
# of the GNU General Public License, version 3 ("GPLv3").
Packit Service a9384c
#
Packit Service a9384c
# Originally written by Per Bothner.
Packit Service a9384c
#
Packit Service a9384c
# You can get the latest version of this script from:
Packit Service a9384c
# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
Packit Service a9384c
#
Packit Service a9384c
# Please send patches with a ChangeLog entry to config-patches@gnu.org.
Packit Service a9384c
Packit Service a9384c
Packit Service a9384c
me=`echo "$0" | sed -e 's,.*/,,'`
Packit Service a9384c
Packit Service a9384c
usage="\
Packit Service a9384c
Usage: $0 [OPTION]
Packit Service a9384c
Packit Service a9384c
Output the configuration name of the system \`$me' is run on.
Packit Service a9384c
Packit Service a9384c
Operation modes:
Packit Service a9384c
  -h, --help         print this help, then exit
Packit Service a9384c
  -t, --time-stamp   print date of last modification, then exit
Packit Service a9384c
  -v, --version      print version number, then exit
Packit Service a9384c
Packit Service a9384c
Report bugs and patches to <config-patches@gnu.org>."
Packit Service a9384c
Packit Service a9384c
version="\
Packit Service a9384c
GNU config.guess ($timestamp)
Packit Service a9384c
Packit Service a9384c
Originally written by Per Bothner.
Packit Service a9384c
Copyright 1992-2014 Free Software Foundation, Inc.
Packit Service a9384c
Packit Service a9384c
This is free software; see the source for copying conditions.  There is NO
Packit Service a9384c
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
Packit Service a9384c
Packit Service a9384c
help="
Packit Service a9384c
Try \`$me --help' for more information."
Packit Service a9384c
Packit Service a9384c
# Parse command line
Packit Service a9384c
while test $# -gt 0 ; do
Packit Service a9384c
  case $1 in
Packit Service a9384c
    --time-stamp | --time* | -t )
Packit Service a9384c
       echo "$timestamp" ; exit ;;
Packit Service a9384c
    --version | -v )
Packit Service a9384c
       echo "$version" ; exit ;;
Packit Service a9384c
    --help | --h* | -h )
Packit Service a9384c
       echo "$usage"; exit ;;
Packit Service a9384c
    -- )     # Stop option processing
Packit Service a9384c
       shift; break ;;
Packit Service a9384c
    - )	# Use stdin as input.
Packit Service a9384c
       break ;;
Packit Service a9384c
    -* )
Packit Service a9384c
       echo "$me: invalid option $1$help" >&2
Packit Service a9384c
       exit 1 ;;
Packit Service a9384c
    * )
Packit Service a9384c
       break ;;
Packit Service a9384c
  esac
Packit Service a9384c
done
Packit Service a9384c
Packit Service a9384c
if test $# != 0; then
Packit Service a9384c
  echo "$me: too many arguments$help" >&2
Packit Service a9384c
  exit 1
Packit Service a9384c
fi
Packit Service a9384c
Packit Service a9384c
trap 'exit 1' 1 2 15
Packit Service a9384c
Packit Service a9384c
# CC_FOR_BUILD -- compiler used by this script. Note that the use of a
Packit Service a9384c
# compiler to aid in system detection is discouraged as it requires
Packit Service a9384c
# temporary files to be created and, as you can see below, it is a
Packit Service a9384c
# headache to deal with in a portable fashion.
Packit Service a9384c
Packit Service a9384c
# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still
Packit Service a9384c
# use `HOST_CC' if defined, but it is deprecated.
Packit Service a9384c
Packit Service a9384c
# Portable tmp directory creation inspired by the Autoconf team.
Packit Service a9384c
Packit Service a9384c
set_cc_for_build='
Packit Service a9384c
trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
Packit Service a9384c
trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
Packit Service a9384c
: ${TMPDIR=/tmp} ;
Packit Service a9384c
 { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
Packit Service a9384c
 { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
Packit Service a9384c
 { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
Packit Service a9384c
 { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
Packit Service a9384c
dummy=$tmp/dummy ;
Packit Service a9384c
tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;
Packit Service a9384c
case $CC_FOR_BUILD,$HOST_CC,$CC in
Packit Service a9384c
 ,,)    echo "int x;" > $dummy.c ;
Packit Service a9384c
	for c in cc gcc c89 c99 ; do
Packit Service a9384c
	  if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then
Packit Service a9384c
	     CC_FOR_BUILD="$c"; break ;
Packit Service a9384c
	  fi ;
Packit Service a9384c
	done ;
Packit Service a9384c
	if test x"$CC_FOR_BUILD" = x ; then
Packit Service a9384c
	  CC_FOR_BUILD=no_compiler_found ;
Packit Service a9384c
	fi
Packit Service a9384c
	;;
Packit Service a9384c
 ,,*)   CC_FOR_BUILD=$CC ;;
Packit Service a9384c
 ,*,*)  CC_FOR_BUILD=$HOST_CC ;;
Packit Service a9384c
esac ; set_cc_for_build= ;'
Packit Service a9384c
Packit Service a9384c
# This is needed to find uname on a Pyramid OSx when run in the BSD universe.
Packit Service a9384c
# (ghazi@noc.rutgers.edu 1994-08-24)
Packit Service a9384c
if (test -f /.attbin/uname) >/dev/null 2>&1 ; then
Packit Service a9384c
	PATH=$PATH:/.attbin ; export PATH
Packit Service a9384c
fi
Packit Service a9384c
Packit Service a9384c
UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
Packit Service a9384c
UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
Packit Service a9384c
UNAME_SYSTEM=`(uname -s) 2>/dev/null`  || UNAME_SYSTEM=unknown
Packit Service a9384c
UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
Packit Service a9384c
Packit Service a9384c
case "${UNAME_SYSTEM}" in
Packit Service a9384c
Linux|GNU|GNU/*)
Packit Service a9384c
	# If the system lacks a compiler, then just pick glibc.
Packit Service a9384c
	# We could probably try harder.
Packit Service a9384c
	LIBC=gnu
Packit Service a9384c
Packit Service a9384c
	eval $set_cc_for_build
Packit Service a9384c
	cat <<-EOF > $dummy.c
Packit Service a9384c
	#include <features.h>
Packit Service a9384c
	#if defined(__UCLIBC__)
Packit Service a9384c
	LIBC=uclibc
Packit Service a9384c
	#elif defined(__dietlibc__)
Packit Service a9384c
	LIBC=dietlibc
Packit Service a9384c
	#else
Packit Service a9384c
	LIBC=gnu
Packit Service a9384c
	#endif
Packit Service a9384c
	EOF
Packit Service a9384c
	eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC' | sed 's, ,,g'`
Packit Service a9384c
	;;
Packit Service a9384c
esac
Packit Service a9384c
Packit Service a9384c
# Note: order is significant - the case branches are not exclusive.
Packit Service a9384c
Packit Service a9384c
case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
Packit Service a9384c
    *:NetBSD:*:*)
Packit Service a9384c
	# NetBSD (nbsd) targets should (where applicable) match one or
Packit Service a9384c
	# more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*,
Packit Service a9384c
	# *-*-netbsdecoff* and *-*-netbsd*.  For targets that recently
Packit Service a9384c
	# switched to ELF, *-*-netbsd* would select the old
Packit Service a9384c
	# object file format.  This provides both forward
Packit Service a9384c
	# compatibility and a consistent mechanism for selecting the
Packit Service a9384c
	# object file format.
Packit Service a9384c
	#
Packit Service a9384c
	# Note: NetBSD doesn't particularly care about the vendor
Packit Service a9384c
	# portion of the name.  We always set it to "unknown".
Packit Service a9384c
	sysctl="sysctl -n hw.machine_arch"
Packit Service a9384c
	UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \
Packit Service a9384c
	    /usr/sbin/$sysctl 2>/dev/null || echo unknown)`
Packit Service a9384c
	case "${UNAME_MACHINE_ARCH}" in
Packit Service a9384c
	    armeb) machine=armeb-unknown ;;
Packit Service a9384c
	    arm*) machine=arm-unknown ;;
Packit Service a9384c
	    sh3el) machine=shl-unknown ;;
Packit Service a9384c
	    sh3eb) machine=sh-unknown ;;
Packit Service a9384c
	    sh5el) machine=sh5le-unknown ;;
Packit Service a9384c
	    *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
Packit Service a9384c
	esac
Packit Service a9384c
	# The Operating System including object format, if it has switched
Packit Service a9384c
	# to ELF recently, or will in the future.
Packit Service a9384c
	case "${UNAME_MACHINE_ARCH}" in
Packit Service a9384c
	    arm*|i386|m68k|ns32k|sh3*|sparc|vax)
Packit Service a9384c
		eval $set_cc_for_build
Packit Service a9384c
		if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
Packit Service a9384c
			| grep -q __ELF__
Packit Service a9384c
		then
Packit Service a9384c
		    # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
Packit Service a9384c
		    # Return netbsd for either.  FIX?
Packit Service a9384c
		    os=netbsd
Packit Service a9384c
		else
Packit Service a9384c
		    os=netbsdelf
Packit Service a9384c
		fi
Packit Service a9384c
		;;
Packit Service a9384c
	    *)
Packit Service a9384c
		os=netbsd
Packit Service a9384c
		;;
Packit Service a9384c
	esac
Packit Service a9384c
	# The OS release
Packit Service a9384c
	# Debian GNU/NetBSD machines have a different userland, and
Packit Service a9384c
	# thus, need a distinct triplet. However, they do not need
Packit Service a9384c
	# kernel version information, so it can be replaced with a
Packit Service a9384c
	# suitable tag, in the style of linux-gnu.
Packit Service a9384c
	case "${UNAME_VERSION}" in
Packit Service a9384c
	    Debian*)
Packit Service a9384c
		release='-gnu'
Packit Service a9384c
		;;
Packit Service a9384c
	    *)
Packit Service a9384c
		release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
Packit Service a9384c
		;;
Packit Service a9384c
	esac
Packit Service a9384c
	# Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
Packit Service a9384c
	# contains redundant information, the shorter form:
Packit Service a9384c
	# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
Packit Service a9384c
	echo "${machine}-${os}${release}"
Packit Service a9384c
	exit ;;
Packit Service a9384c
    *:Bitrig:*:*)
Packit Service a9384c
	UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'`
Packit Service a9384c
	echo ${UNAME_MACHINE_ARCH}-unknown-bitrig${UNAME_RELEASE}
Packit Service a9384c
	exit ;;
Packit Service a9384c
    *:OpenBSD:*:*)
Packit Service a9384c
	UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
Packit Service a9384c
	echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
Packit Service a9384c
	exit ;;
Packit Service a9384c
    *:ekkoBSD:*:*)
Packit Service a9384c
	echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
Packit Service a9384c
	exit ;;
Packit Service a9384c
    *:SolidBSD:*:*)
Packit Service a9384c
	echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE}
Packit Service a9384c
	exit ;;
Packit Service a9384c
    macppc:MirBSD:*:*)
Packit Service a9384c
	echo powerpc-unknown-mirbsd${UNAME_RELEASE}
Packit Service a9384c
	exit ;;
Packit Service a9384c
    *:MirBSD:*:*)
Packit Service a9384c
	echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
Packit Service a9384c
	exit ;;
Packit Service a9384c
    alpha:OSF1:*:*)
Packit Service a9384c
	case $UNAME_RELEASE in
Packit Service a9384c
	*4.0)
Packit Service a9384c
		UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
Packit Service a9384c
		;;
Packit Service a9384c
	*5.*)
Packit Service a9384c
		UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
Packit Service a9384c
		;;
Packit Service a9384c
	esac
Packit Service a9384c
	# According to Compaq, /usr/sbin/psrinfo has been available on
Packit Service a9384c
	# OSF/1 and Tru64 systems produced since 1995.  I hope that
Packit Service a9384c
	# covers most systems running today.  This code pipes the CPU
Packit Service a9384c
	# types through head -n 1, so we only detect the type of CPU 0.
Packit Service a9384c
	ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^  The alpha \(.*\) processor.*$/\1/p' | head -n 1`
Packit Service a9384c
	case "$ALPHA_CPU_TYPE" in
Packit Service a9384c
	    "EV4 (21064)")
Packit Service a9384c
		UNAME_MACHINE="alpha" ;;
Packit Service a9384c
	    "EV4.5 (21064)")
Packit Service a9384c
		UNAME_MACHINE="alpha" ;;
Packit Service a9384c
	    "LCA4 (21066/21068)")
Packit Service a9384c
		UNAME_MACHINE="alpha" ;;
Packit Service a9384c
	    "EV5 (21164)")
Packit Service a9384c
		UNAME_MACHINE="alphaev5" ;;
Packit Service a9384c
	    "EV5.6 (21164A)")
Packit Service a9384c
		UNAME_MACHINE="alphaev56" ;;
Packit Service a9384c
	    "EV5.6 (21164PC)")
Packit Service a9384c
		UNAME_MACHINE="alphapca56" ;;
Packit Service a9384c
	    "EV5.7 (21164PC)")
Packit Service a9384c
		UNAME_MACHINE="alphapca57" ;;
Packit Service a9384c
	    "EV6 (21264)")
Packit Service a9384c
		UNAME_MACHINE="alphaev6" ;;
Packit Service a9384c
	    "EV6.7 (21264A)")
Packit Service a9384c
		UNAME_MACHINE="alphaev67" ;;
Packit Service a9384c
	    "EV6.8CB (21264C)")
Packit Service a9384c
		UNAME_MACHINE="alphaev68" ;;
Packit Service a9384c
	    "EV6.8AL (21264B)")
Packit Service a9384c
		UNAME_MACHINE="alphaev68" ;;
Packit Service a9384c
	    "EV6.8CX (21264D)")
Packit Service a9384c
		UNAME_MACHINE="alphaev68" ;;
Packit Service a9384c
	    "EV6.9A (21264/EV69A)")
Packit Service a9384c
		UNAME_MACHINE="alphaev69" ;;
Packit Service a9384c
	    "EV7 (21364)")
Packit Service a9384c
		UNAME_MACHINE="alphaev7" ;;
Packit Service a9384c
	    "EV7.9 (21364A)")
Packit Service a9384c
		UNAME_MACHINE="alphaev79" ;;
Packit Service a9384c
	esac
Packit Service a9384c
	# A Pn.n version is a patched version.
Packit Service a9384c
	# A Vn.n version is a released version.
Packit Service a9384c
	# A Tn.n version is a released field test version.
Packit Service a9384c
	# A Xn.n version is an unreleased experimental baselevel.
Packit Service a9384c
	# 1.2 uses "1.2" for uname -r.
Packit Service a9384c
	echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
Packit Service a9384c
	# Reset EXIT trap before exiting to avoid spurious non-zero exit code.
Packit Service a9384c
	exitcode=$?
Packit Service a9384c
	trap '' 0
Packit Service a9384c
	exit $exitcode ;;
Packit Service a9384c
    Alpha\ *:Windows_NT*:*)
Packit Service a9384c
	# How do we know it's Interix rather than the generic POSIX subsystem?
Packit Service a9384c
	# Should we change UNAME_MACHINE based on the output of uname instead
Packit Service a9384c
	# of the specific Alpha model?
Packit Service a9384c
	echo alpha-pc-interix
Packit Service a9384c
	exit ;;
Packit Service a9384c
    21064:Windows_NT:50:3)
Packit Service a9384c
	echo alpha-dec-winnt3.5
Packit Service a9384c
	exit ;;
Packit Service a9384c
    Amiga*:UNIX_System_V:4.0:*)
Packit Service a9384c
	echo m68k-unknown-sysv4
Packit Service a9384c
	exit ;;
Packit Service a9384c
    *:[Aa]miga[Oo][Ss]:*:*)
Packit Service a9384c
	echo ${UNAME_MACHINE}-unknown-amigaos
Packit Service a9384c
	exit ;;
Packit Service a9384c
    *:[Mm]orph[Oo][Ss]:*:*)
Packit Service a9384c
	echo ${UNAME_MACHINE}-unknown-morphos
Packit Service a9384c
	exit ;;
Packit Service a9384c
    *:OS/390:*:*)
Packit Service a9384c
	echo i370-ibm-openedition
Packit Service a9384c
	exit ;;
Packit Service a9384c
    *:z/VM:*:*)
Packit Service a9384c
	echo s390-ibm-zvmoe
Packit Service a9384c
	exit ;;
Packit Service a9384c
    *:OS400:*:*)
Packit Service a9384c
	echo powerpc-ibm-os400
Packit Service a9384c
	exit ;;
Packit Service a9384c
    arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
Packit Service a9384c
	echo arm-acorn-riscix${UNAME_RELEASE}
Packit Service a9384c
	exit ;;
Packit Service a9384c
    arm*:riscos:*:*|arm*:RISCOS:*:*)
Packit Service a9384c
	echo arm-unknown-riscos
Packit Service a9384c
	exit ;;
Packit Service a9384c
    SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
Packit Service a9384c
	echo hppa1.1-hitachi-hiuxmpp
Packit Service a9384c
	exit ;;
Packit Service a9384c
    Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*)
Packit Service a9384c
	# akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE.
Packit Service a9384c
	if test "`(/bin/universe) 2>/dev/null`" = att ; then
Packit Service a9384c
		echo pyramid-pyramid-sysv3
Packit Service a9384c
	else
Packit Service a9384c
		echo pyramid-pyramid-bsd
Packit Service a9384c
	fi
Packit Service a9384c
	exit ;;
Packit Service a9384c
    NILE*:*:*:dcosx)
Packit Service a9384c
	echo pyramid-pyramid-svr4
Packit Service a9384c
	exit ;;
Packit Service a9384c
    DRS?6000:unix:4.0:6*)
Packit Service a9384c
	echo sparc-icl-nx6
Packit Service a9384c
	exit ;;
Packit Service a9384c
    DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*)
Packit Service a9384c
	case `/usr/bin/uname -p` in
Packit Service a9384c
	    sparc) echo sparc-icl-nx7; exit ;;
Packit Service a9384c
	esac ;;
Packit Service a9384c
    s390x:SunOS:*:*)
Packit Service a9384c
	echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
Packit Service a9384c
	exit ;;
Packit Service a9384c
    sun4H:SunOS:5.*:*)
Packit Service a9384c
	echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
Packit Service a9384c
	exit ;;
Packit Service a9384c
    sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
Packit Service a9384c
	echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
Packit Service a9384c
	exit ;;
Packit Service a9384c
    i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*)
Packit Service a9384c
	echo i386-pc-auroraux${UNAME_RELEASE}
Packit Service a9384c
	exit ;;
Packit Service a9384c
    i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
Packit Service a9384c
	eval $set_cc_for_build
Packit Service a9384c
	SUN_ARCH="i386"
Packit Service a9384c
	# If there is a compiler, see if it is configured for 64-bit objects.
Packit Service a9384c
	# Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
Packit Service a9384c
	# This test works for both compilers.
Packit Service a9384c
	if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
Packit Service a9384c
	    if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \
Packit Service a9384c
		(CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
Packit Service a9384c
		grep IS_64BIT_ARCH >/dev/null
Packit Service a9384c
	    then
Packit Service a9384c
		SUN_ARCH="x86_64"
Packit Service a9384c
	    fi
Packit Service a9384c
	fi
Packit Service a9384c
	echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
Packit Service a9384c
	exit ;;
Packit Service a9384c
    sun4*:SunOS:6*:*)
Packit Service a9384c
	# According to config.sub, this is the proper way to canonicalize
Packit Service a9384c
	# SunOS6.  Hard to guess exactly what SunOS6 will be like, but
Packit Service a9384c
	# it's likely to be more like Solaris than SunOS4.
Packit Service a9384c
	echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
Packit Service a9384c
	exit ;;
Packit Service a9384c
    sun4*:SunOS:*:*)
Packit Service a9384c
	case "`/usr/bin/arch -k`" in
Packit Service a9384c
	    Series*|S4*)
Packit Service a9384c
		UNAME_RELEASE=`uname -v`
Packit Service a9384c
		;;
Packit Service a9384c
	esac
Packit Service a9384c
	# Japanese Language versions have a version number like `4.1.3-JL'.
Packit Service a9384c
	echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'`
Packit Service a9384c
	exit ;;
Packit Service a9384c
    sun3*:SunOS:*:*)
Packit Service a9384c
	echo m68k-sun-sunos${UNAME_RELEASE}
Packit Service a9384c
	exit ;;
Packit Service a9384c
    sun*:*:4.2BSD:*)
Packit Service a9384c
	UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
Packit Service a9384c
	test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
Packit Service a9384c
	case "`/bin/arch`" in
Packit Service a9384c
	    sun3)
Packit Service a9384c
		echo m68k-sun-sunos${UNAME_RELEASE}
Packit Service a9384c
		;;
Packit Service a9384c
	    sun4)
Packit Service a9384c
		echo sparc-sun-sunos${UNAME_RELEASE}
Packit Service a9384c
		;;
Packit Service a9384c
	esac
Packit Service a9384c
	exit ;;
Packit Service a9384c
    aushp:SunOS:*:*)
Packit Service a9384c
	echo sparc-auspex-sunos${UNAME_RELEASE}
Packit Service a9384c
	exit ;;
Packit Service a9384c
    # The situation for MiNT is a little confusing.  The machine name
Packit Service a9384c
    # can be virtually everything (everything which is not
Packit Service a9384c
    # "atarist" or "atariste" at least should have a processor
Packit Service a9384c
    # > m68000).  The system name ranges from "MiNT" over "FreeMiNT"
Packit Service a9384c
    # to the lowercase version "mint" (or "freemint").  Finally
Packit Service a9384c
    # the system name "TOS" denotes a system which is actually not
Packit Service a9384c
    # MiNT.  But MiNT is downward compatible to TOS, so this should
Packit Service a9384c
    # be no problem.
Packit Service a9384c
    atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
Packit Service a9384c
	echo m68k-atari-mint${UNAME_RELEASE}
Packit Service a9384c
	exit ;;
Packit Service a9384c
    atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
Packit Service a9384c
	echo m68k-atari-mint${UNAME_RELEASE}
Packit Service a9384c
	exit ;;
Packit Service a9384c
    *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
Packit Service a9384c
	echo m68k-atari-mint${UNAME_RELEASE}
Packit Service a9384c
	exit ;;
Packit Service a9384c
    milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
Packit Service a9384c
	echo m68k-milan-mint${UNAME_RELEASE}
Packit Service a9384c
	exit ;;
Packit Service a9384c
    hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
Packit Service a9384c
	echo m68k-hades-mint${UNAME_RELEASE}
Packit Service a9384c
	exit ;;
Packit Service a9384c
    *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
Packit Service a9384c
	echo m68k-unknown-mint${UNAME_RELEASE}
Packit Service a9384c
	exit ;;
Packit Service a9384c
    m68k:machten:*:*)
Packit Service a9384c
	echo m68k-apple-machten${UNAME_RELEASE}
Packit Service a9384c
	exit ;;
Packit Service a9384c
    powerpc:machten:*:*)
Packit Service a9384c
	echo powerpc-apple-machten${UNAME_RELEASE}
Packit Service a9384c
	exit ;;
Packit Service a9384c
    RISC*:Mach:*:*)
Packit Service a9384c
	echo mips-dec-mach_bsd4.3
Packit Service a9384c
	exit ;;
Packit Service a9384c
    RISC*:ULTRIX:*:*)
Packit Service a9384c
	echo mips-dec-ultrix${UNAME_RELEASE}
Packit Service a9384c
	exit ;;
Packit Service a9384c
    VAX*:ULTRIX*:*:*)
Packit Service a9384c
	echo vax-dec-ultrix${UNAME_RELEASE}
Packit Service a9384c
	exit ;;
Packit Service a9384c
    2020:CLIX:*:* | 2430:CLIX:*:*)
Packit Service a9384c
	echo clipper-intergraph-clix${UNAME_RELEASE}
Packit Service a9384c
	exit ;;
Packit Service a9384c
    mips:*:*:UMIPS | mips:*:*:RISCos)
Packit Service a9384c
	eval $set_cc_for_build
Packit Service a9384c
	sed 's/^	//' << EOF >$dummy.c
Packit Service a9384c
#ifdef __cplusplus
Packit Service a9384c
#include <stdio.h>  /* for printf() prototype */
Packit Service a9384c
	int main (int argc, char *argv[]) {
Packit Service a9384c
#else
Packit Service a9384c
	int main (argc, argv) int argc; char *argv[]; {
Packit Service a9384c
#endif
Packit Service a9384c
	#if defined (host_mips) && defined (MIPSEB)
Packit Service a9384c
	#if defined (SYSTYPE_SYSV)
Packit Service a9384c
	  printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0);
Packit Service a9384c
	#endif
Packit Service a9384c
	#if defined (SYSTYPE_SVR4)
Packit Service a9384c
	  printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0);
Packit Service a9384c
	#endif
Packit Service a9384c
	#if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD)
Packit Service a9384c
	  printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0);
Packit Service a9384c
	#endif
Packit Service a9384c
	#endif
Packit Service a9384c
	  exit (-1);
Packit Service a9384c
	}
Packit Service a9384c
EOF
Packit Service a9384c
	$CC_FOR_BUILD -o $dummy $dummy.c &&
Packit Service a9384c
	  dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` &&
Packit Service a9384c
	  SYSTEM_NAME=`$dummy $dummyarg` &&
Packit Service a9384c
	    { echo "$SYSTEM_NAME"; exit; }
Packit Service a9384c
	echo mips-mips-riscos${UNAME_RELEASE}
Packit Service a9384c
	exit ;;
Packit Service a9384c
    Motorola:PowerMAX_OS:*:*)
Packit Service a9384c
	echo powerpc-motorola-powermax
Packit Service a9384c
	exit ;;
Packit Service a9384c
    Motorola:*:4.3:PL8-*)
Packit Service a9384c
	echo powerpc-harris-powermax
Packit Service a9384c
	exit ;;
Packit Service a9384c
    Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*)
Packit Service a9384c
	echo powerpc-harris-powermax
Packit Service a9384c
	exit ;;
Packit Service a9384c
    Night_Hawk:Power_UNIX:*:*)
Packit Service a9384c
	echo powerpc-harris-powerunix
Packit Service a9384c
	exit ;;
Packit Service a9384c
    m88k:CX/UX:7*:*)
Packit Service a9384c
	echo m88k-harris-cxux7
Packit Service a9384c
	exit ;;
Packit Service a9384c
    m88k:*:4*:R4*)
Packit Service a9384c
	echo m88k-motorola-sysv4
Packit Service a9384c
	exit ;;
Packit Service a9384c
    m88k:*:3*:R3*)
Packit Service a9384c
	echo m88k-motorola-sysv3
Packit Service a9384c
	exit ;;
Packit Service a9384c
    AViiON:dgux:*:*)
Packit Service a9384c
	# DG/UX returns AViiON for all architectures
Packit Service a9384c
	UNAME_PROCESSOR=`/usr/bin/uname -p`
Packit Service a9384c
	if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]
Packit Service a9384c
	then
Packit Service a9384c
	    if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
Packit Service a9384c
	       [ ${TARGET_BINARY_INTERFACE}x = x ]
Packit Service a9384c
	    then
Packit Service a9384c
		echo m88k-dg-dgux${UNAME_RELEASE}
Packit Service a9384c
	    else
Packit Service a9384c
		echo m88k-dg-dguxbcs${UNAME_RELEASE}
Packit Service a9384c
	    fi
Packit Service a9384c
	else
Packit Service a9384c
	    echo i586-dg-dgux${UNAME_RELEASE}
Packit Service a9384c
	fi
Packit Service a9384c
	exit ;;
Packit Service a9384c
    M88*:DolphinOS:*:*)	# DolphinOS (SVR3)
Packit Service a9384c
	echo m88k-dolphin-sysv3
Packit Service a9384c
	exit ;;
Packit Service a9384c
    M88*:*:R3*:*)
Packit Service a9384c
	# Delta 88k system running SVR3
Packit Service a9384c
	echo m88k-motorola-sysv3
Packit Service a9384c
	exit ;;
Packit Service a9384c
    XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3)
Packit Service a9384c
	echo m88k-tektronix-sysv3
Packit Service a9384c
	exit ;;
Packit Service a9384c
    Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD)
Packit Service a9384c
	echo m68k-tektronix-bsd
Packit Service a9384c
	exit ;;
Packit Service a9384c
    *:IRIX*:*:*)
Packit Service a9384c
	echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'`
Packit Service a9384c
	exit ;;
Packit Service a9384c
    ????????:AIX?:[12].1:2)   # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
Packit Service a9384c
	echo romp-ibm-aix     # uname -m gives an 8 hex-code CPU id
Packit Service a9384c
	exit ;;               # Note that: echo "'`uname -s`'" gives 'AIX '
Packit Service a9384c
    i*86:AIX:*:*)
Packit Service a9384c
	echo i386-ibm-aix
Packit Service a9384c
	exit ;;
Packit Service a9384c
    ia64:AIX:*:*)
Packit Service a9384c
	if [ -x /usr/bin/oslevel ] ; then
Packit Service a9384c
		IBM_REV=`/usr/bin/oslevel`
Packit Service a9384c
	else
Packit Service a9384c
		IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
Packit Service a9384c
	fi
Packit Service a9384c
	echo ${UNAME_MACHINE}-ibm-aix${IBM_REV}
Packit Service a9384c
	exit ;;
Packit Service a9384c
    *:AIX:2:3)
Packit Service a9384c
	if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
Packit Service a9384c
		eval $set_cc_for_build
Packit Service a9384c
		sed 's/^		//' << EOF >$dummy.c
Packit Service a9384c
		#include <sys/systemcfg.h>
Packit Service a9384c
Packit Service a9384c
		main()
Packit Service a9384c
			{
Packit Service a9384c
			if (!__power_pc())
Packit Service a9384c
				exit(1);
Packit Service a9384c
			puts("powerpc-ibm-aix3.2.5");
Packit Service a9384c
			exit(0);
Packit Service a9384c
			}
Packit Service a9384c
EOF
Packit Service a9384c
		if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy`
Packit Service a9384c
		then
Packit Service a9384c
			echo "$SYSTEM_NAME"
Packit Service a9384c
		else
Packit Service a9384c
			echo rs6000-ibm-aix3.2.5
Packit Service a9384c
		fi
Packit Service a9384c
	elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
Packit Service a9384c
		echo rs6000-ibm-aix3.2.4
Packit Service a9384c
	else
Packit Service a9384c
		echo rs6000-ibm-aix3.2
Packit Service a9384c
	fi
Packit Service a9384c
	exit ;;
Packit Service a9384c
    *:AIX:*:[4567])
Packit Service a9384c
	IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
Packit Service a9384c
	if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
Packit Service a9384c
		IBM_ARCH=rs6000
Packit Service a9384c
	else
Packit Service a9384c
		IBM_ARCH=powerpc
Packit Service a9384c
	fi
Packit Service a9384c
	if [ -x /usr/bin/oslevel ] ; then
Packit Service a9384c
		IBM_REV=`/usr/bin/oslevel`
Packit Service a9384c
	else
Packit Service a9384c
		IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
Packit Service a9384c
	fi
Packit Service a9384c
	echo ${IBM_ARCH}-ibm-aix${IBM_REV}
Packit Service a9384c
	exit ;;
Packit Service a9384c
    *:AIX:*:*)
Packit Service a9384c
	echo rs6000-ibm-aix
Packit Service a9384c
	exit ;;
Packit Service a9384c
    ibmrt:4.4BSD:*|romp-ibm:BSD:*)
Packit Service a9384c
	echo romp-ibm-bsd4.4
Packit Service a9384c
	exit ;;
Packit Service a9384c
    ibmrt:*BSD:*|romp-ibm:BSD:*)            # covers RT/PC BSD and
Packit Service a9384c
	echo romp-ibm-bsd${UNAME_RELEASE}   # 4.3 with uname added to
Packit Service a9384c
	exit ;;                             # report: romp-ibm BSD 4.3
Packit Service a9384c
    *:BOSX:*:*)
Packit Service a9384c
	echo rs6000-bull-bosx
Packit Service a9384c
	exit ;;
Packit Service a9384c
    DPX/2?00:B.O.S.:*:*)
Packit Service a9384c
	echo m68k-bull-sysv3
Packit Service a9384c
	exit ;;
Packit Service a9384c
    9000/[34]??:4.3bsd:1.*:*)
Packit Service a9384c
	echo m68k-hp-bsd
Packit Service a9384c
	exit ;;
Packit Service a9384c
    hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
Packit Service a9384c
	echo m68k-hp-bsd4.4
Packit Service a9384c
	exit ;;
Packit Service a9384c
    9000/[34678]??:HP-UX:*:*)
Packit Service a9384c
	HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
Packit Service a9384c
	case "${UNAME_MACHINE}" in
Packit Service a9384c
	    9000/31? )            HP_ARCH=m68000 ;;
Packit Service a9384c
	    9000/[34]?? )         HP_ARCH=m68k ;;
Packit Service a9384c
	    9000/[678][0-9][0-9])
Packit Service a9384c
		if [ -x /usr/bin/getconf ]; then
Packit Service a9384c
		    sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
Packit Service a9384c
		    sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
Packit Service a9384c
		    case "${sc_cpu_version}" in
Packit Service a9384c
		      523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
Packit Service a9384c
		      528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
Packit Service a9384c
		      532)                      # CPU_PA_RISC2_0
Packit Service a9384c
			case "${sc_kernel_bits}" in
Packit Service a9384c
			  32) HP_ARCH="hppa2.0n" ;;
Packit Service a9384c
			  64) HP_ARCH="hppa2.0w" ;;
Packit Service a9384c
			  '') HP_ARCH="hppa2.0" ;;   # HP-UX 10.20
Packit Service a9384c
			esac ;;
Packit Service a9384c
		    esac
Packit Service a9384c
		fi
Packit Service a9384c
		if [ "${HP_ARCH}" = "" ]; then
Packit Service a9384c
		    eval $set_cc_for_build
Packit Service a9384c
		    sed 's/^		//' << EOF >$dummy.c
Packit Service a9384c
Packit Service a9384c
		#define _HPUX_SOURCE
Packit Service a9384c
		#include <stdlib.h>
Packit Service a9384c
		#include <unistd.h>
Packit Service a9384c
Packit Service a9384c
		int main ()
Packit Service a9384c
		{
Packit Service a9384c
		#if defined(_SC_KERNEL_BITS)
Packit Service a9384c
		    long bits = sysconf(_SC_KERNEL_BITS);
Packit Service a9384c
		#endif
Packit Service a9384c
		    long cpu  = sysconf (_SC_CPU_VERSION);
Packit Service a9384c
Packit Service a9384c
		    switch (cpu)
Packit Service a9384c
			{
Packit Service a9384c
			case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
Packit Service a9384c
			case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
Packit Service a9384c
			case CPU_PA_RISC2_0:
Packit Service a9384c
		#if defined(_SC_KERNEL_BITS)
Packit Service a9384c
			    switch (bits)
Packit Service a9384c
				{
Packit Service a9384c
				case 64: puts ("hppa2.0w"); break;
Packit Service a9384c
				case 32: puts ("hppa2.0n"); break;
Packit Service a9384c
				default: puts ("hppa2.0"); break;
Packit Service a9384c
				} break;
Packit Service a9384c
		#else  /* !defined(_SC_KERNEL_BITS) */
Packit Service a9384c
			    puts ("hppa2.0"); break;
Packit Service a9384c
		#endif
Packit Service a9384c
			default: puts ("hppa1.0"); break;
Packit Service a9384c
			}
Packit Service a9384c
		    exit (0);
Packit Service a9384c
		}
Packit Service a9384c
EOF
Packit Service a9384c
		    (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
Packit Service a9384c
		    test -z "$HP_ARCH" && HP_ARCH=hppa
Packit Service a9384c
		fi ;;
Packit Service a9384c
	esac
Packit Service a9384c
	if [ ${HP_ARCH} = "hppa2.0w" ]
Packit Service a9384c
	then
Packit Service a9384c
	    eval $set_cc_for_build
Packit Service a9384c
Packit Service a9384c
	    # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating
Packit Service a9384c
	    # 32-bit code.  hppa64-hp-hpux* has the same kernel and a compiler
Packit Service a9384c
	    # generating 64-bit code.  GNU and HP use different nomenclature:
Packit Service a9384c
	    #
Packit Service a9384c
	    # $ CC_FOR_BUILD=cc ./config.guess
Packit Service a9384c
	    # => hppa2.0w-hp-hpux11.23
Packit Service a9384c
	    # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess
Packit Service a9384c
	    # => hppa64-hp-hpux11.23
Packit Service a9384c
Packit Service a9384c
	    if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
Packit Service a9384c
		grep -q __LP64__
Packit Service a9384c
	    then
Packit Service a9384c
		HP_ARCH="hppa2.0w"
Packit Service a9384c
	    else
Packit Service a9384c
		HP_ARCH="hppa64"
Packit Service a9384c
	    fi
Packit Service a9384c
	fi
Packit Service a9384c
	echo ${HP_ARCH}-hp-hpux${HPUX_REV}
Packit Service a9384c
	exit ;;
Packit Service a9384c
    ia64:HP-UX:*:*)
Packit Service a9384c
	HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
Packit Service a9384c
	echo ia64-hp-hpux${HPUX_REV}
Packit Service a9384c
	exit ;;
Packit Service a9384c
    3050*:HI-UX:*:*)
Packit Service a9384c
	eval $set_cc_for_build
Packit Service a9384c
	sed 's/^	//' << EOF >$dummy.c
Packit Service a9384c
	#include <unistd.h>
Packit Service a9384c
	int
Packit Service a9384c
	main ()
Packit Service a9384c
	{
Packit Service a9384c
	  long cpu = sysconf (_SC_CPU_VERSION);
Packit Service a9384c
	  /* The order matters, because CPU_IS_HP_MC68K erroneously returns
Packit Service a9384c
	     true for CPU_PA_RISC1_0.  CPU_IS_PA_RISC returns correct
Packit Service a9384c
	     results, however.  */
Packit Service a9384c
	  if (CPU_IS_PA_RISC (cpu))
Packit Service a9384c
	    {
Packit Service a9384c
	      switch (cpu)
Packit Service a9384c
		{
Packit Service a9384c
		  case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break;
Packit Service a9384c
		  case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break;
Packit Service a9384c
		  case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break;
Packit Service a9384c
		  default: puts ("hppa-hitachi-hiuxwe2"); break;
Packit Service a9384c
		}
Packit Service a9384c
	    }
Packit Service a9384c
	  else if (CPU_IS_HP_MC68K (cpu))
Packit Service a9384c
	    puts ("m68k-hitachi-hiuxwe2");
Packit Service a9384c
	  else puts ("unknown-hitachi-hiuxwe2");
Packit Service a9384c
	  exit (0);
Packit Service a9384c
	}
Packit Service a9384c
EOF
Packit Service a9384c
	$CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` &&
Packit Service a9384c
		{ echo "$SYSTEM_NAME"; exit; }
Packit Service a9384c
	echo unknown-hitachi-hiuxwe2
Packit Service a9384c
	exit ;;
Packit Service a9384c
    9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
Packit Service a9384c
	echo hppa1.1-hp-bsd
Packit Service a9384c
	exit ;;
Packit Service a9384c
    9000/8??:4.3bsd:*:*)
Packit Service a9384c
	echo hppa1.0-hp-bsd
Packit Service a9384c
	exit ;;
Packit Service a9384c
    *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*)
Packit Service a9384c
	echo hppa1.0-hp-mpeix
Packit Service a9384c
	exit ;;
Packit Service a9384c
    hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )
Packit Service a9384c
	echo hppa1.1-hp-osf
Packit Service a9384c
	exit ;;
Packit Service a9384c
    hp8??:OSF1:*:*)
Packit Service a9384c
	echo hppa1.0-hp-osf
Packit Service a9384c
	exit ;;
Packit Service a9384c
    i*86:OSF1:*:*)
Packit Service a9384c
	if [ -x /usr/sbin/sysversion ] ; then
Packit Service a9384c
	    echo ${UNAME_MACHINE}-unknown-osf1mk
Packit Service a9384c
	else
Packit Service a9384c
	    echo ${UNAME_MACHINE}-unknown-osf1
Packit Service a9384c
	fi
Packit Service a9384c
	exit ;;
Packit Service a9384c
    parisc*:Lites*:*:*)
Packit Service a9384c
	echo hppa1.1-hp-lites
Packit Service a9384c
	exit ;;
Packit Service a9384c
    C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
Packit Service a9384c
	echo c1-convex-bsd
Packit Service a9384c
	exit ;;
Packit Service a9384c
    C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
Packit Service a9384c
	if getsysinfo -f scalar_acc
Packit Service a9384c
	then echo c32-convex-bsd
Packit Service a9384c
	else echo c2-convex-bsd
Packit Service a9384c
	fi
Packit Service a9384c
	exit ;;
Packit Service a9384c
    C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
Packit Service a9384c
	echo c34-convex-bsd
Packit Service a9384c
	exit ;;
Packit Service a9384c
    C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
Packit Service a9384c
	echo c38-convex-bsd
Packit Service a9384c
	exit ;;
Packit Service a9384c
    C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
Packit Service a9384c
	echo c4-convex-bsd
Packit Service a9384c
	exit ;;
Packit Service a9384c
    CRAY*Y-MP:*:*:*)
Packit Service a9384c
	echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
Packit Service a9384c
	exit ;;
Packit Service a9384c
    CRAY*[A-Z]90:*:*:*)
Packit Service a9384c
	echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \
Packit Service a9384c
	| sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
Packit Service a9384c
	      -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \
Packit Service a9384c
	      -e 's/\.[^.]*$/.X/'
Packit Service a9384c
	exit ;;
Packit Service a9384c
    CRAY*TS:*:*:*)
Packit Service a9384c
	echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
Packit Service a9384c
	exit ;;
Packit Service a9384c
    CRAY*T3E:*:*:*)
Packit Service a9384c
	echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
Packit Service a9384c
	exit ;;
Packit Service a9384c
    CRAY*SV1:*:*:*)
Packit Service a9384c
	echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
Packit Service a9384c
	exit ;;
Packit Service a9384c
    *:UNICOS/mp:*:*)
Packit Service a9384c
	echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
Packit Service a9384c
	exit ;;
Packit Service a9384c
    F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
Packit Service a9384c
	FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
Packit Service a9384c
	FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
Packit Service a9384c
	FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
Packit Service a9384c
	echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
Packit Service a9384c
	exit ;;
Packit Service a9384c
    5000:UNIX_System_V:4.*:*)
Packit Service a9384c
	FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
Packit Service a9384c
	FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
Packit Service a9384c
	echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
Packit Service a9384c
	exit ;;
Packit Service a9384c
    i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
Packit Service a9384c
	echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
Packit Service a9384c
	exit ;;
Packit Service a9384c
    sparc*:BSD/OS:*:*)
Packit Service a9384c
	echo sparc-unknown-bsdi${UNAME_RELEASE}
Packit Service a9384c
	exit ;;
Packit Service a9384c
    *:BSD/OS:*:*)
Packit Service a9384c
	echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
Packit Service a9384c
	exit ;;
Packit Service a9384c
    *:FreeBSD:*:*)
Packit Service a9384c
	UNAME_PROCESSOR=`/usr/bin/uname -p`
Packit Service a9384c
	case ${UNAME_PROCESSOR} in
Packit Service a9384c
	    amd64)
Packit Service a9384c
		echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
Packit Service a9384c
	    *)
Packit Service a9384c
		echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
Packit Service a9384c
	esac
Packit Service a9384c
	exit ;;
Packit Service a9384c
    i*:CYGWIN*:*)
Packit Service a9384c
	echo ${UNAME_MACHINE}-pc-cygwin
Packit Service a9384c
	exit ;;
Packit Service a9384c
    *:MINGW64*:*)
Packit Service a9384c
	echo ${UNAME_MACHINE}-pc-mingw64
Packit Service a9384c
	exit ;;
Packit Service a9384c
    *:MINGW*:*)
Packit Service a9384c
	echo ${UNAME_MACHINE}-pc-mingw32
Packit Service a9384c
	exit ;;
Packit Service a9384c
    *:MSYS*:*)
Packit Service a9384c
	echo ${UNAME_MACHINE}-pc-msys
Packit Service a9384c
	exit ;;
Packit Service a9384c
    i*:windows32*:*)
Packit Service a9384c
	# uname -m includes "-pc" on this system.
Packit Service a9384c
	echo ${UNAME_MACHINE}-mingw32
Packit Service a9384c
	exit ;;
Packit Service a9384c
    i*:PW*:*)
Packit Service a9384c
	echo ${UNAME_MACHINE}-pc-pw32
Packit Service a9384c
	exit ;;
Packit Service a9384c
    *:Interix*:*)
Packit Service a9384c
	case ${UNAME_MACHINE} in
Packit Service a9384c
	    x86)
Packit Service a9384c
		echo i586-pc-interix${UNAME_RELEASE}
Packit Service a9384c
		exit ;;
Packit Service a9384c
	    authenticamd | genuineintel | EM64T)
Packit Service a9384c
		echo x86_64-unknown-interix${UNAME_RELEASE}
Packit Service a9384c
		exit ;;
Packit Service a9384c
	    IA64)
Packit Service a9384c
		echo ia64-unknown-interix${UNAME_RELEASE}
Packit Service a9384c
		exit ;;
Packit Service a9384c
	esac ;;
Packit Service a9384c
    [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
Packit Service a9384c
	echo i${UNAME_MACHINE}-pc-mks
Packit Service a9384c
	exit ;;
Packit Service a9384c
    8664:Windows_NT:*)
Packit Service a9384c
	echo x86_64-pc-mks
Packit Service a9384c
	exit ;;
Packit Service a9384c
    i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
Packit Service a9384c
	# How do we know it's Interix rather than the generic POSIX subsystem?
Packit Service a9384c
	# It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
Packit Service a9384c
	# UNAME_MACHINE based on the output of uname instead of i386?
Packit Service a9384c
	echo i586-pc-interix
Packit Service a9384c
	exit ;;
Packit Service a9384c
    i*:UWIN*:*)
Packit Service a9384c
	echo ${UNAME_MACHINE}-pc-uwin
Packit Service a9384c
	exit ;;
Packit Service a9384c
    amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
Packit Service a9384c
	echo x86_64-unknown-cygwin
Packit Service a9384c
	exit ;;
Packit Service a9384c
    p*:CYGWIN*:*)
Packit Service a9384c
	echo powerpcle-unknown-cygwin
Packit Service a9384c
	exit ;;
Packit Service a9384c
    prep*:SunOS:5.*:*)
Packit Service a9384c
	echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
Packit Service a9384c
	exit ;;
Packit Service a9384c
    *:GNU:*:*)
Packit Service a9384c
	# the GNU system
Packit Service a9384c
	echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-${LIBC}`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
Packit Service a9384c
	exit ;;
Packit Service a9384c
    *:GNU/*:*:*)
Packit Service a9384c
	# other systems with GNU libc and userland
Packit Service a9384c
	echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC}
Packit Service a9384c
	exit ;;
Packit Service a9384c
    i*86:Minix:*:*)
Packit Service a9384c
	echo ${UNAME_MACHINE}-pc-minix
Packit Service a9384c
	exit ;;
Packit Service a9384c
    aarch64:Linux:*:*)
Packit Service a9384c
	echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
Packit Service a9384c
	exit ;;
Packit Service a9384c
    aarch64_be:Linux:*:*)
Packit Service a9384c
	UNAME_MACHINE=aarch64_be
Packit Service a9384c
	echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
Packit Service a9384c
	exit ;;
Packit Service a9384c
    alpha:Linux:*:*)
Packit Service a9384c
	case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
Packit Service a9384c
	  EV5)   UNAME_MACHINE=alphaev5 ;;
Packit Service a9384c
	  EV56)  UNAME_MACHINE=alphaev56 ;;
Packit Service a9384c
	  PCA56) UNAME_MACHINE=alphapca56 ;;
Packit Service a9384c
	  PCA57) UNAME_MACHINE=alphapca56 ;;
Packit Service a9384c
	  EV6)   UNAME_MACHINE=alphaev6 ;;
Packit Service a9384c
	  EV67)  UNAME_MACHINE=alphaev67 ;;
Packit Service a9384c
	  EV68*) UNAME_MACHINE=alphaev68 ;;
Packit Service a9384c
	esac
Packit Service a9384c
	objdump --private-headers /bin/sh | grep -q ld.so.1
Packit Service a9384c
	if test "$?" = 0 ; then LIBC="gnulibc1" ; fi
Packit Service a9384c
	echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
Packit Service a9384c
	exit ;;
Packit Service a9384c
    arc:Linux:*:* | arceb:Linux:*:*)
Packit Service a9384c
	echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
Packit Service a9384c
	exit ;;
Packit Service a9384c
    arm*:Linux:*:*)
Packit Service a9384c
	eval $set_cc_for_build
Packit Service a9384c
	if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
Packit Service a9384c
	    | grep -q __ARM_EABI__
Packit Service a9384c
	then
Packit Service a9384c
	    echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
Packit Service a9384c
	else
Packit Service a9384c
	    if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
Packit Service a9384c
		| grep -q __ARM_PCS_VFP
Packit Service a9384c
	    then
Packit Service a9384c
		echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabi
Packit Service a9384c
	    else
Packit Service a9384c
		echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabihf
Packit Service a9384c
	    fi
Packit Service a9384c
	fi
Packit Service a9384c
	exit ;;
Packit Service a9384c
    avr32*:Linux:*:*)
Packit Service a9384c
	echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
Packit Service a9384c
	exit ;;
Packit Service a9384c
    cris:Linux:*:*)
Packit Service a9384c
	echo ${UNAME_MACHINE}-axis-linux-${LIBC}
Packit Service a9384c
	exit ;;
Packit Service a9384c
    crisv32:Linux:*:*)
Packit Service a9384c
	echo ${UNAME_MACHINE}-axis-linux-${LIBC}
Packit Service a9384c
	exit ;;
Packit Service a9384c
    frv:Linux:*:*)
Packit Service a9384c
	echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
Packit Service a9384c
	exit ;;
Packit Service a9384c
    hexagon:Linux:*:*)
Packit Service a9384c
	echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
Packit Service a9384c
	exit ;;
Packit Service a9384c
    i*86:Linux:*:*)
Packit Service a9384c
	echo ${UNAME_MACHINE}-pc-linux-${LIBC}
Packit Service a9384c
	exit ;;
Packit Service a9384c
    ia64:Linux:*:*)
Packit Service a9384c
	echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
Packit Service a9384c
	exit ;;
Packit Service a9384c
    m32r*:Linux:*:*)
Packit Service a9384c
	echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
Packit Service a9384c
	exit ;;
Packit Service a9384c
    m68*:Linux:*:*)
Packit Service a9384c
	echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
Packit Service a9384c
	exit ;;
Packit Service a9384c
    mips:Linux:*:* | mips64:Linux:*:*)
Packit Service a9384c
	eval $set_cc_for_build
Packit Service a9384c
	sed 's/^	//' << EOF >$dummy.c
Packit Service a9384c
	#undef CPU
Packit Service a9384c
	#undef ${UNAME_MACHINE}
Packit Service a9384c
	#undef ${UNAME_MACHINE}el
Packit Service a9384c
	#if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
Packit Service a9384c
	CPU=${UNAME_MACHINE}el
Packit Service a9384c
	#else
Packit Service a9384c
	#if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
Packit Service a9384c
	CPU=${UNAME_MACHINE}
Packit Service a9384c
	#else
Packit Service a9384c
	CPU=
Packit Service a9384c
	#endif
Packit Service a9384c
	#endif
Packit Service a9384c
EOF
Packit Service a9384c
	eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
Packit Service a9384c
	test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; }
Packit Service a9384c
	;;
Packit Service a9384c
    openrisc*:Linux:*:*)
Packit Service a9384c
	echo or1k-unknown-linux-${LIBC}
Packit Service a9384c
	exit ;;
Packit Service a9384c
    or32:Linux:*:* | or1k*:Linux:*:*)
Packit Service a9384c
	echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
Packit Service a9384c
	exit ;;
Packit Service a9384c
    padre:Linux:*:*)
Packit Service a9384c
	echo sparc-unknown-linux-${LIBC}
Packit Service a9384c
	exit ;;
Packit Service a9384c
    parisc64:Linux:*:* | hppa64:Linux:*:*)
Packit Service a9384c
	echo hppa64-unknown-linux-${LIBC}
Packit Service a9384c
	exit ;;
Packit Service a9384c
    parisc:Linux:*:* | hppa:Linux:*:*)
Packit Service a9384c
	# Look for CPU level
Packit Service a9384c
	case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
Packit Service a9384c
	  PA7*) echo hppa1.1-unknown-linux-${LIBC} ;;
Packit Service a9384c
	  PA8*) echo hppa2.0-unknown-linux-${LIBC} ;;
Packit Service a9384c
	  *)    echo hppa-unknown-linux-${LIBC} ;;
Packit Service a9384c
	esac
Packit Service a9384c
	exit ;;
Packit Service a9384c
    ppc64:Linux:*:*)
Packit Service a9384c
	echo powerpc64-unknown-linux-${LIBC}
Packit Service a9384c
	exit ;;
Packit Service a9384c
    ppc:Linux:*:*)
Packit Service a9384c
	echo powerpc-unknown-linux-${LIBC}
Packit Service a9384c
	exit ;;
Packit Service a9384c
    ppc64le:Linux:*:*)
Packit Service a9384c
	echo powerpc64le-unknown-linux-${LIBC}
Packit Service a9384c
	exit ;;
Packit Service a9384c
    ppcle:Linux:*:*)
Packit Service a9384c
	echo powerpcle-unknown-linux-${LIBC}
Packit Service a9384c
	exit ;;
Packit Service a9384c
    s390:Linux:*:* | s390x:Linux:*:*)
Packit Service a9384c
	echo ${UNAME_MACHINE}-ibm-linux-${LIBC}
Packit Service a9384c
	exit ;;
Packit Service a9384c
    sh64*:Linux:*:*)
Packit Service a9384c
	echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
Packit Service a9384c
	exit ;;
Packit Service a9384c
    sh*:Linux:*:*)
Packit Service a9384c
	echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
Packit Service a9384c
	exit ;;
Packit Service a9384c
    sparc:Linux:*:* | sparc64:Linux:*:*)
Packit Service a9384c
	echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
Packit Service a9384c
	exit ;;
Packit Service a9384c
    tile*:Linux:*:*)
Packit Service a9384c
	echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
Packit Service a9384c
	exit ;;
Packit Service a9384c
    vax:Linux:*:*)
Packit Service a9384c
	echo ${UNAME_MACHINE}-dec-linux-${LIBC}
Packit Service a9384c
	exit ;;
Packit Service a9384c
    x86_64:Linux:*:*)
Packit Service a9384c
	echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
Packit Service a9384c
	exit ;;
Packit Service a9384c
    xtensa*:Linux:*:*)
Packit Service a9384c
	echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
Packit Service a9384c
	exit ;;
Packit Service a9384c
    i*86:DYNIX/ptx:4*:*)
Packit Service a9384c
	# ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
Packit Service a9384c
	# earlier versions are messed up and put the nodename in both
Packit Service a9384c
	# sysname and nodename.
Packit Service a9384c
	echo i386-sequent-sysv4
Packit Service a9384c
	exit ;;
Packit Service a9384c
    i*86:UNIX_SV:4.2MP:2.*)
Packit Service a9384c
	# Unixware is an offshoot of SVR4, but it has its own version
Packit Service a9384c
	# number series starting with 2...
Packit Service a9384c
	# I am not positive that other SVR4 systems won't match this,
Packit Service a9384c
	# I just have to hope.  -- rms.
Packit Service a9384c
	# Use sysv4.2uw... so that sysv4* matches it.
Packit Service a9384c
	echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
Packit Service a9384c
	exit ;;
Packit Service a9384c
    i*86:OS/2:*:*)
Packit Service a9384c
	# If we were able to find `uname', then EMX Unix compatibility
Packit Service a9384c
	# is probably installed.
Packit Service a9384c
	echo ${UNAME_MACHINE}-pc-os2-emx
Packit Service a9384c
	exit ;;
Packit Service a9384c
    i*86:XTS-300:*:STOP)
Packit Service a9384c
	echo ${UNAME_MACHINE}-unknown-stop
Packit Service a9384c
	exit ;;
Packit Service a9384c
    i*86:atheos:*:*)
Packit Service a9384c
	echo ${UNAME_MACHINE}-unknown-atheos
Packit Service a9384c
	exit ;;
Packit Service a9384c
    i*86:syllable:*:*)
Packit Service a9384c
	echo ${UNAME_MACHINE}-pc-syllable
Packit Service a9384c
	exit ;;
Packit Service a9384c
    i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*)
Packit Service a9384c
	echo i386-unknown-lynxos${UNAME_RELEASE}
Packit Service a9384c
	exit ;;
Packit Service a9384c
    i*86:*DOS:*:*)
Packit Service a9384c
	echo ${UNAME_MACHINE}-pc-msdosdjgpp
Packit Service a9384c
	exit ;;
Packit Service a9384c
    i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*)
Packit Service a9384c
	UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'`
Packit Service a9384c
	if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
Packit Service a9384c
		echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL}
Packit Service a9384c
	else
Packit Service a9384c
		echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL}
Packit Service a9384c
	fi
Packit Service a9384c
	exit ;;
Packit Service a9384c
    i*86:*:5:[678]*)
Packit Service a9384c
	# UnixWare 7.x, OpenUNIX and OpenServer 6.
Packit Service a9384c
	case `/bin/uname -X | grep "^Machine"` in
Packit Service a9384c
	    *486*)	     UNAME_MACHINE=i486 ;;
Packit Service a9384c
	    *Pentium)	     UNAME_MACHINE=i586 ;;
Packit Service a9384c
	    *Pent*|*Celeron) UNAME_MACHINE=i686 ;;
Packit Service a9384c
	esac
Packit Service a9384c
	echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION}
Packit Service a9384c
	exit ;;
Packit Service a9384c
    i*86:*:3.2:*)
Packit Service a9384c
	if test -f /usr/options/cb.name; then
Packit Service a9384c
		UNAME_REL=`sed -n 's/.*Version //p' 
Packit Service a9384c
		echo ${UNAME_MACHINE}-pc-isc$UNAME_REL
Packit Service a9384c
	elif /bin/uname -X 2>/dev/null >/dev/null ; then
Packit Service a9384c
		UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')`
Packit Service a9384c
		(/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486
Packit Service a9384c
		(/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \
Packit Service a9384c
			&& UNAME_MACHINE=i586
Packit Service a9384c
		(/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \
Packit Service a9384c
			&& UNAME_MACHINE=i686
Packit Service a9384c
		(/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \
Packit Service a9384c
			&& UNAME_MACHINE=i686
Packit Service a9384c
		echo ${UNAME_MACHINE}-pc-sco$UNAME_REL
Packit Service a9384c
	else
Packit Service a9384c
		echo ${UNAME_MACHINE}-pc-sysv32
Packit Service a9384c
	fi
Packit Service a9384c
	exit ;;
Packit Service a9384c
    pc:*:*:*)
Packit Service a9384c
	# Left here for compatibility:
Packit Service a9384c
	# uname -m prints for DJGPP always 'pc', but it prints nothing about
Packit Service a9384c
	# the processor, so we play safe by assuming i586.
Packit Service a9384c
	# Note: whatever this is, it MUST be the same as what config.sub
Packit Service a9384c
	# prints for the "djgpp" host, or else GDB configury will decide that
Packit Service a9384c
	# this is a cross-build.
Packit Service a9384c
	echo i586-pc-msdosdjgpp
Packit Service a9384c
	exit ;;
Packit Service a9384c
    Intel:Mach:3*:*)
Packit Service a9384c
	echo i386-pc-mach3
Packit Service a9384c
	exit ;;
Packit Service a9384c
    paragon:*:*:*)
Packit Service a9384c
	echo i860-intel-osf1
Packit Service a9384c
	exit ;;
Packit Service a9384c
    i860:*:4.*:*) # i860-SVR4
Packit Service a9384c
	if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
Packit Service a9384c
	  echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4
Packit Service a9384c
	else # Add other i860-SVR4 vendors below as they are discovered.
Packit Service a9384c
	  echo i860-unknown-sysv${UNAME_RELEASE}  # Unknown i860-SVR4
Packit Service a9384c
	fi
Packit Service a9384c
	exit ;;
Packit Service a9384c
    mini*:CTIX:SYS*5:*)
Packit Service a9384c
	# "miniframe"
Packit Service a9384c
	echo m68010-convergent-sysv
Packit Service a9384c
	exit ;;
Packit Service a9384c
    mc68k:UNIX:SYSTEM5:3.51m)
Packit Service a9384c
	echo m68k-convergent-sysv
Packit Service a9384c
	exit ;;
Packit Service a9384c
    M680?0:D-NIX:5.3:*)
Packit Service a9384c
	echo m68k-diab-dnix
Packit Service a9384c
	exit ;;
Packit Service a9384c
    M68*:*:R3V[5678]*:*)
Packit Service a9384c
	test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;;
Packit Service a9384c
    3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0)
Packit Service a9384c
	OS_REL=''
Packit Service a9384c
	test -r /etc/.relid \
Packit Service a9384c
	&& OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
Packit Service a9384c
	/bin/uname -p 2>/dev/null | grep 86 >/dev/null \
Packit Service a9384c
	  && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
Packit Service a9384c
	/bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
Packit Service a9384c
	  && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
Packit Service a9384c
    3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
Packit Service a9384c
	/bin/uname -p 2>/dev/null | grep 86 >/dev/null \
Packit Service a9384c
	  && { echo i486-ncr-sysv4; exit; } ;;
Packit Service a9384c
    NCR*:*:4.2:* | MPRAS*:*:4.2:*)
Packit Service a9384c
	OS_REL='.3'
Packit Service a9384c
	test -r /etc/.relid \
Packit Service a9384c
	    && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
Packit Service a9384c
	/bin/uname -p 2>/dev/null | grep 86 >/dev/null \
Packit Service a9384c
	    && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
Packit Service a9384c
	/bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
Packit Service a9384c
	    && { echo i586-ncr-sysv4.3${OS_REL}; exit; }
Packit Service a9384c
	/bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \
Packit Service a9384c
	    && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
Packit Service a9384c
    m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
Packit Service a9384c
	echo m68k-unknown-lynxos${UNAME_RELEASE}
Packit Service a9384c
	exit ;;
Packit Service a9384c
    mc68030:UNIX_System_V:4.*:*)
Packit Service a9384c
	echo m68k-atari-sysv4
Packit Service a9384c
	exit ;;
Packit Service a9384c
    TSUNAMI:LynxOS:2.*:*)
Packit Service a9384c
	echo sparc-unknown-lynxos${UNAME_RELEASE}
Packit Service a9384c
	exit ;;
Packit Service a9384c
    rs6000:LynxOS:2.*:*)
Packit Service a9384c
	echo rs6000-unknown-lynxos${UNAME_RELEASE}
Packit Service a9384c
	exit ;;
Packit Service a9384c
    PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*)
Packit Service a9384c
	echo powerpc-unknown-lynxos${UNAME_RELEASE}
Packit Service a9384c
	exit ;;
Packit Service a9384c
    SM[BE]S:UNIX_SV:*:*)
Packit Service a9384c
	echo mips-dde-sysv${UNAME_RELEASE}
Packit Service a9384c
	exit ;;
Packit Service a9384c
    RM*:ReliantUNIX-*:*:*)
Packit Service a9384c
	echo mips-sni-sysv4
Packit Service a9384c
	exit ;;
Packit Service a9384c
    RM*:SINIX-*:*:*)
Packit Service a9384c
	echo mips-sni-sysv4
Packit Service a9384c
	exit ;;
Packit Service a9384c
    *:SINIX-*:*:*)
Packit Service a9384c
	if uname -p 2>/dev/null >/dev/null ; then
Packit Service a9384c
		UNAME_MACHINE=`(uname -p) 2>/dev/null`
Packit Service a9384c
		echo ${UNAME_MACHINE}-sni-sysv4
Packit Service a9384c
	else
Packit Service a9384c
		echo ns32k-sni-sysv
Packit Service a9384c
	fi
Packit Service a9384c
	exit ;;
Packit Service a9384c
    PENTIUM:*:4.0*:*)	# Unisys `ClearPath HMP IX 4000' SVR4/MP effort
Packit Service a9384c
			# says <Richard.M.Bartel@ccMail.Census.GOV>
Packit Service a9384c
	echo i586-unisys-sysv4
Packit Service a9384c
	exit ;;
Packit Service a9384c
    *:UNIX_System_V:4*:FTX*)
Packit Service a9384c
	# From Gerald Hewes <hewes@openmarket.com>.
Packit Service a9384c
	# How about differentiating between stratus architectures? -djm
Packit Service a9384c
	echo hppa1.1-stratus-sysv4
Packit Service a9384c
	exit ;;
Packit Service a9384c
    *:*:*:FTX*)
Packit Service a9384c
	# From seanf@swdc.stratus.com.
Packit Service a9384c
	echo i860-stratus-sysv4
Packit Service a9384c
	exit ;;
Packit Service a9384c
    i*86:VOS:*:*)
Packit Service a9384c
	# From Paul.Green@stratus.com.
Packit Service a9384c
	echo ${UNAME_MACHINE}-stratus-vos
Packit Service a9384c
	exit ;;
Packit Service a9384c
    *:VOS:*:*)
Packit Service a9384c
	# From Paul.Green@stratus.com.
Packit Service a9384c
	echo hppa1.1-stratus-vos
Packit Service a9384c
	exit ;;
Packit Service a9384c
    mc68*:A/UX:*:*)
Packit Service a9384c
	echo m68k-apple-aux${UNAME_RELEASE}
Packit Service a9384c
	exit ;;
Packit Service a9384c
    news*:NEWS-OS:6*:*)
Packit Service a9384c
	echo mips-sony-newsos6
Packit Service a9384c
	exit ;;
Packit Service a9384c
    R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
Packit Service a9384c
	if [ -d /usr/nec ]; then
Packit Service a9384c
		echo mips-nec-sysv${UNAME_RELEASE}
Packit Service a9384c
	else
Packit Service a9384c
		echo mips-unknown-sysv${UNAME_RELEASE}
Packit Service a9384c
	fi
Packit Service a9384c
	exit ;;
Packit Service a9384c
    BeBox:BeOS:*:*)	# BeOS running on hardware made by Be, PPC only.
Packit Service a9384c
	echo powerpc-be-beos
Packit Service a9384c
	exit ;;
Packit Service a9384c
    BeMac:BeOS:*:*)	# BeOS running on Mac or Mac clone, PPC only.
Packit Service a9384c
	echo powerpc-apple-beos
Packit Service a9384c
	exit ;;
Packit Service a9384c
    BePC:BeOS:*:*)	# BeOS running on Intel PC compatible.
Packit Service a9384c
	echo i586-pc-beos
Packit Service a9384c
	exit ;;
Packit Service a9384c
    BePC:Haiku:*:*)	# Haiku running on Intel PC compatible.
Packit Service a9384c
	echo i586-pc-haiku
Packit Service a9384c
	exit ;;
Packit Service a9384c
    x86_64:Haiku:*:*)
Packit Service a9384c
	echo x86_64-unknown-haiku
Packit Service a9384c
	exit ;;
Packit Service a9384c
    SX-4:SUPER-UX:*:*)
Packit Service a9384c
	echo sx4-nec-superux${UNAME_RELEASE}
Packit Service a9384c
	exit ;;
Packit Service a9384c
    SX-5:SUPER-UX:*:*)
Packit Service a9384c
	echo sx5-nec-superux${UNAME_RELEASE}
Packit Service a9384c
	exit ;;
Packit Service a9384c
    SX-6:SUPER-UX:*:*)
Packit Service a9384c
	echo sx6-nec-superux${UNAME_RELEASE}
Packit Service a9384c
	exit ;;
Packit Service a9384c
    SX-7:SUPER-UX:*:*)
Packit Service a9384c
	echo sx7-nec-superux${UNAME_RELEASE}
Packit Service a9384c
	exit ;;
Packit Service a9384c
    SX-8:SUPER-UX:*:*)
Packit Service a9384c
	echo sx8-nec-superux${UNAME_RELEASE}
Packit Service a9384c
	exit ;;
Packit Service a9384c
    SX-8R:SUPER-UX:*:*)
Packit Service a9384c
	echo sx8r-nec-superux${UNAME_RELEASE}
Packit Service a9384c
	exit ;;
Packit Service a9384c
    Power*:Rhapsody:*:*)
Packit Service a9384c
	echo powerpc-apple-rhapsody${UNAME_RELEASE}
Packit Service a9384c
	exit ;;
Packit Service a9384c
    *:Rhapsody:*:*)
Packit Service a9384c
	echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
Packit Service a9384c
	exit ;;
Packit Service a9384c
    *:Darwin:*:*)
Packit Service a9384c
	UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
Packit Service a9384c
	eval $set_cc_for_build
Packit Service a9384c
	if test "$UNAME_PROCESSOR" = unknown ; then
Packit Service a9384c
	    UNAME_PROCESSOR=powerpc
Packit Service a9384c
	fi
Packit Service a9384c
	if test `echo "$UNAME_RELEASE" | sed -e 's/\..*//'` -le 10 ; then
Packit Service a9384c
	    if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
Packit Service a9384c
		if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
Packit Service a9384c
		    (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
Packit Service a9384c
		    grep IS_64BIT_ARCH >/dev/null
Packit Service a9384c
		then
Packit Service a9384c
		    case $UNAME_PROCESSOR in
Packit Service a9384c
			i386) UNAME_PROCESSOR=x86_64 ;;
Packit Service a9384c
			powerpc) UNAME_PROCESSOR=powerpc64 ;;
Packit Service a9384c
		    esac
Packit Service a9384c
		fi
Packit Service a9384c
	    fi
Packit Service a9384c
	elif test "$UNAME_PROCESSOR" = i386 ; then
Packit Service a9384c
	    # Avoid executing cc on OS X 10.9, as it ships with a stub
Packit Service a9384c
	    # that puts up a graphical alert prompting to install
Packit Service a9384c
	    # developer tools.  Any system running Mac OS X 10.7 or
Packit Service a9384c
	    # later (Darwin 11 and later) is required to have a 64-bit
Packit Service a9384c
	    # processor. This is not true of the ARM version of Darwin
Packit Service a9384c
	    # that Apple uses in portable devices.
Packit Service a9384c
	    UNAME_PROCESSOR=x86_64
Packit Service a9384c
	fi
Packit Service a9384c
	echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
Packit Service a9384c
	exit ;;
Packit Service a9384c
    *:procnto*:*:* | *:QNX:[0123456789]*:*)
Packit Service a9384c
	UNAME_PROCESSOR=`uname -p`
Packit Service a9384c
	if test "$UNAME_PROCESSOR" = "x86"; then
Packit Service a9384c
		UNAME_PROCESSOR=i386
Packit Service a9384c
		UNAME_MACHINE=pc
Packit Service a9384c
	fi
Packit Service a9384c
	echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE}
Packit Service a9384c
	exit ;;
Packit Service a9384c
    *:QNX:*:4*)
Packit Service a9384c
	echo i386-pc-qnx
Packit Service a9384c
	exit ;;
Packit Service a9384c
    NEO-?:NONSTOP_KERNEL:*:*)
Packit Service a9384c
	echo neo-tandem-nsk${UNAME_RELEASE}
Packit Service a9384c
	exit ;;
Packit Service a9384c
    NSE-*:NONSTOP_KERNEL:*:*)
Packit Service a9384c
	echo nse-tandem-nsk${UNAME_RELEASE}
Packit Service a9384c
	exit ;;
Packit Service a9384c
    NSR-?:NONSTOP_KERNEL:*:*)
Packit Service a9384c
	echo nsr-tandem-nsk${UNAME_RELEASE}
Packit Service a9384c
	exit ;;
Packit Service a9384c
    *:NonStop-UX:*:*)
Packit Service a9384c
	echo mips-compaq-nonstopux
Packit Service a9384c
	exit ;;
Packit Service a9384c
    BS2000:POSIX*:*:*)
Packit Service a9384c
	echo bs2000-siemens-sysv
Packit Service a9384c
	exit ;;
Packit Service a9384c
    DS/*:UNIX_System_V:*:*)
Packit Service a9384c
	echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE}
Packit Service a9384c
	exit ;;
Packit Service a9384c
    *:Plan9:*:*)
Packit Service a9384c
	# "uname -m" is not consistent, so use $cputype instead. 386
Packit Service a9384c
	# is converted to i386 for consistency with other x86
Packit Service a9384c
	# operating systems.
Packit Service a9384c
	if test "$cputype" = "386"; then
Packit Service a9384c
	    UNAME_MACHINE=i386
Packit Service a9384c
	else
Packit Service a9384c
	    UNAME_MACHINE="$cputype"
Packit Service a9384c
	fi
Packit Service a9384c
	echo ${UNAME_MACHINE}-unknown-plan9
Packit Service a9384c
	exit ;;
Packit Service a9384c
    *:TOPS-10:*:*)
Packit Service a9384c
	echo pdp10-unknown-tops10
Packit Service a9384c
	exit ;;
Packit Service a9384c
    *:TENEX:*:*)
Packit Service a9384c
	echo pdp10-unknown-tenex
Packit Service a9384c
	exit ;;
Packit Service a9384c
    KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*)
Packit Service a9384c
	echo pdp10-dec-tops20
Packit Service a9384c
	exit ;;
Packit Service a9384c
    XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*)
Packit Service a9384c
	echo pdp10-xkl-tops20
Packit Service a9384c
	exit ;;
Packit Service a9384c
    *:TOPS-20:*:*)
Packit Service a9384c
	echo pdp10-unknown-tops20
Packit Service a9384c
	exit ;;
Packit Service a9384c
    *:ITS:*:*)
Packit Service a9384c
	echo pdp10-unknown-its
Packit Service a9384c
	exit ;;
Packit Service a9384c
    SEI:*:*:SEIUX)
Packit Service a9384c
	echo mips-sei-seiux${UNAME_RELEASE}
Packit Service a9384c
	exit ;;
Packit Service a9384c
    *:DragonFly:*:*)
Packit Service a9384c
	echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
Packit Service a9384c
	exit ;;
Packit Service a9384c
    *:*VMS:*:*)
Packit Service a9384c
	UNAME_MACHINE=`(uname -p) 2>/dev/null`
Packit Service a9384c
	case "${UNAME_MACHINE}" in
Packit Service a9384c
	    A*) echo alpha-dec-vms ; exit ;;
Packit Service a9384c
	    I*) echo ia64-dec-vms ; exit ;;
Packit Service a9384c
	    V*) echo vax-dec-vms ; exit ;;
Packit Service a9384c
	esac ;;
Packit Service a9384c
    *:XENIX:*:SysV)
Packit Service a9384c
	echo i386-pc-xenix
Packit Service a9384c
	exit ;;
Packit Service a9384c
    i*86:skyos:*:*)
Packit Service a9384c
	echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//'
Packit Service a9384c
	exit ;;
Packit Service a9384c
    i*86:rdos:*:*)
Packit Service a9384c
	echo ${UNAME_MACHINE}-pc-rdos
Packit Service a9384c
	exit ;;
Packit Service a9384c
    i*86:AROS:*:*)
Packit Service a9384c
	echo ${UNAME_MACHINE}-pc-aros
Packit Service a9384c
	exit ;;
Packit Service a9384c
    x86_64:VMkernel:*:*)
Packit Service a9384c
	echo ${UNAME_MACHINE}-unknown-esx
Packit Service a9384c
	exit ;;
Packit Service a9384c
esac
Packit Service a9384c
Packit Service a9384c
cat >&2 <
Packit Service a9384c
$0: unable to guess system type
Packit Service a9384c
Packit Service a9384c
This script, last modified $timestamp, has failed to recognize
Packit Service a9384c
the operating system you are using. It is advised that you
Packit Service a9384c
download the most up to date version of the config scripts from
Packit Service a9384c
Packit Service a9384c
  http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
Packit Service a9384c
and
Packit Service a9384c
  http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
Packit Service a9384c
Packit Service a9384c
If the version you run ($0) is already up to date, please
Packit Service a9384c
send the following data and any information you think might be
Packit Service a9384c
pertinent to <config-patches@gnu.org> in order to provide the needed
Packit Service a9384c
information to handle your system.
Packit Service a9384c
Packit Service a9384c
config.guess timestamp = $timestamp
Packit Service a9384c
Packit Service a9384c
uname -m = `(uname -m) 2>/dev/null || echo unknown`
Packit Service a9384c
uname -r = `(uname -r) 2>/dev/null || echo unknown`
Packit Service a9384c
uname -s = `(uname -s) 2>/dev/null || echo unknown`
Packit Service a9384c
uname -v = `(uname -v) 2>/dev/null || echo unknown`
Packit Service a9384c
Packit Service a9384c
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null`
Packit Service a9384c
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null`
Packit Service a9384c
Packit Service a9384c
hostinfo               = `(hostinfo) 2>/dev/null`
Packit Service a9384c
/bin/universe          = `(/bin/universe) 2>/dev/null`
Packit Service a9384c
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null`
Packit Service a9384c
/bin/arch              = `(/bin/arch) 2>/dev/null`
Packit Service a9384c
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null`
Packit Service a9384c
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null`
Packit Service a9384c
Packit Service a9384c
UNAME_MACHINE = ${UNAME_MACHINE}
Packit Service a9384c
UNAME_RELEASE = ${UNAME_RELEASE}
Packit Service a9384c
UNAME_SYSTEM  = ${UNAME_SYSTEM}
Packit Service a9384c
UNAME_VERSION = ${UNAME_VERSION}
Packit Service a9384c
EOF
Packit Service a9384c
Packit Service a9384c
exit 1
Packit Service a9384c
Packit Service a9384c
# Local variables:
Packit Service a9384c
# eval: (add-hook 'write-file-hooks 'time-stamp)
Packit Service a9384c
# time-stamp-start: "timestamp='"
Packit Service a9384c
# time-stamp-format: "%:y-%02m-%02d"
Packit Service a9384c
# time-stamp-end: "'"
Packit Service a9384c
# End: