comparison build-aux/config.guess @ 40104:f9262966eef6

autoupdate
author Karl Berry <karl@freefriends.org>
date Tue, 15 Jan 2019 10:00:28 -0800
parents 7270f48227f7
children 7f943adad683
comparison
equal deleted inserted replaced
40103:a92075582b06 40104:f9262966eef6
1 #! /bin/sh 1 #! /bin/sh
2 # Attempt to guess a canonical system name. 2 # Attempt to guess a canonical system name.
3 # Copyright 1992-2019 Free Software Foundation, Inc. 3 # Copyright 1992-2019 Free Software Foundation, Inc.
4 4
5 timestamp='2019-01-03' 5 timestamp='2019-01-15'
6 6
7 # This file is free software; you can redistribute it and/or modify it 7 # This file is free software; you can redistribute it and/or modify it
8 # under the terms of the GNU General Public License as published by 8 # under the terms of the GNU General Public License as published by
9 # the Free Software Foundation; either version 3 of the License, or 9 # the Free Software Foundation; either version 3 of the License, or
10 # (at your option) any later version. 10 # (at your option) any later version.
383 exit ;; 383 exit ;;
384 sun4H:SunOS:5.*:*) 384 sun4H:SunOS:5.*:*)
385 echo sparc-hal-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`" 385 echo sparc-hal-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`"
386 exit ;; 386 exit ;;
387 sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) 387 sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
388 set_cc_for_build 388 echo sparc-sun-solaris2"`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`"
389 SUN_ARCH=sparc
390 # If there is a compiler, see if it is configured for 64-bit objects.
391 # Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
392 # This test works for both compilers.
393 if [ "$CC_FOR_BUILD" != no_compiler_found ]; then
394 if (echo '#ifdef __sparcv9'; echo IS_64BIT_ARCH; echo '#endif') | \
395 (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
396 grep IS_64BIT_ARCH >/dev/null
397 then
398 SUN_ARCH=sparcv9
399 fi
400 fi
401 echo "$SUN_ARCH"-sun-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`"
402 exit ;; 389 exit ;;
403 i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*) 390 i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*)
404 echo i386-pc-auroraux"$UNAME_RELEASE" 391 echo i386-pc-auroraux"$UNAME_RELEASE"
405 exit ;; 392 exit ;;
406 i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) 393 i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)