Skip to content

Commit d7005e9

Browse files
committed
depends: latest config.guess
1 parent 359e2e3 commit d7005e9

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

depends/config.guess

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Attempt to guess a canonical system name.
33
# Copyright 1992-2018 Free Software Foundation, Inc.
44

5-
timestamp='2018-01-26'
5+
timestamp='2018-07-06'
66

77
# This file is free software; you can redistribute it and/or modify it
88
# under the terms of the GNU General Public License as published by
@@ -101,12 +101,12 @@ trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && e
101101
trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
102102
: ${TMPDIR=/tmp} ;
103103
{ tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
104-
{ test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
105-
{ tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
104+
{ test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp 2>/dev/null) ; } ||
105+
{ tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp 2>/dev/null) && echo "Warning: creating insecure temp directory" >&2 ; } ||
106106
{ echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
107107
dummy=$tmp/dummy ;
108108
tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;
109-
case $CC_FOR_BUILD,$HOST_CC,$CC in
109+
case ${CC_FOR_BUILD-},${HOST_CC-},${CC-} in
110110
,,) echo "int x;" > "$dummy.c" ;
111111
for c in cc gcc c89 c99 ; do
112112
if ($c -c -o "$dummy.o" "$dummy.c") >/dev/null 2>&1 ; then
@@ -237,7 +237,7 @@ case "$UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION" in
237237
# Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
238238
# contains redundant information, the shorter form:
239239
# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
240-
echo "$machine-${os}${release}${abi}"
240+
echo "$machine-${os}${release}${abi-}"
241241
exit ;;
242242
*:Bitrig:*:*)
243243
UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'`
@@ -894,8 +894,8 @@ EOF
894894
# other systems with GNU libc and userland
895895
echo "$UNAME_MACHINE-unknown-`echo "$UNAME_SYSTEM" | sed 's,^[^/]*/,,' | tr "[:upper:]" "[:lower:]"``echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`-$LIBC"
896896
exit ;;
897-
i*86:Minix:*:*)
898-
echo "$UNAME_MACHINE"-pc-minix
897+
*:Minix:*:*)
898+
echo "$UNAME_MACHINE"-unknown-minix
899899
exit ;;
900900
aarch64:Linux:*:*)
901901
echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
@@ -1469,7 +1469,7 @@ EOF
14691469
exit 1
14701470

14711471
# Local variables:
1472-
# eval: (add-hook 'write-file-functions 'time-stamp)
1472+
# eval: (add-hook 'before-save-hook 'time-stamp)
14731473
# time-stamp-start: "timestamp='"
14741474
# time-stamp-format: "%:y-%02m-%02d"
14751475
# time-stamp-end: "'"

0 commit comments

Comments
 (0)