/[svn]/hopm/branches/1.1.x/config.guess
ViewVC logotype

Diff of /hopm/branches/1.1.x/config.guess

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 9912 by michael, Sat Jan 2 18:40:00 2021 UTC revision 9913 by michael, Sat Jan 30 13:50:03 2021 UTC
# Line 1  Line 1 
1  #! /bin/sh  #! /bin/sh
2  # Attempt to guess a canonical system name.  # Attempt to guess a canonical system name.
3  #   Copyright 1992-2020 Free Software Foundation, Inc.  #   Copyright 1992-2021 Free Software Foundation, Inc.
4    
5  timestamp='2020-12-22'  timestamp='2021-01-25'
6    
7  # This file is free software; you can redistribute it and/or modify it  # 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  # under the terms of the GNU General Public License as published by
# Line 50  version="\ Line 50  version="\
50  GNU config.guess ($timestamp)  GNU config.guess ($timestamp)
51    
52  Originally written by Per Bothner.  Originally written by Per Bothner.
53  Copyright 1992-2020 Free Software Foundation, Inc.  Copyright 1992-2021 Free Software Foundation, Inc.
54    
55  This is free software; see the source for copying conditions.  There is NO  This is free software; see the source for copying conditions.  There is NO
56  warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."  warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
# Line 188  case "$UNAME_MACHINE:$UNAME_SYSTEM:$UNAM Line 188  case "$UNAME_MACHINE:$UNAME_SYSTEM:$UNAM
188          #          #
189          # Note: NetBSD doesn't particularly care about the vendor          # Note: NetBSD doesn't particularly care about the vendor
190          # portion of the name.  We always set it to "unknown".          # portion of the name.  We always set it to "unknown".
         sysctl="sysctl -n hw.machine_arch"  
191          UNAME_MACHINE_ARCH=$( (uname -p 2>/dev/null || \          UNAME_MACHINE_ARCH=$( (uname -p 2>/dev/null || \
192              "/sbin/$sysctl" 2>/dev/null || \              /sbin/sysctl -n hw.machine_arch 2>/dev/null || \
193              "/usr/sbin/$sysctl" 2>/dev/null || \              /usr/sbin/sysctl -n hw.machine_arch 2>/dev/null || \
194              echo unknown))              echo unknown))
195          case "$UNAME_MACHINE_ARCH" in          case "$UNAME_MACHINE_ARCH" in
196              aarch64eb) machine=aarch64_be-unknown ;;              aarch64eb) machine=aarch64_be-unknown ;;
# Line 1087  EOF Line 1086  EOF
1086      ppcle:Linux:*:*)      ppcle:Linux:*:*)
1087          echo powerpcle-unknown-linux-"$LIBC"          echo powerpcle-unknown-linux-"$LIBC"
1088          exit ;;          exit ;;
1089      riscv32:Linux:*:* | riscv64:Linux:*:*)      riscv32:Linux:*:* | riscv32be:Linux:*:* | riscv64:Linux:*:* | riscv64be:Linux:*:*)
1090          echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"          echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
1091          exit ;;          exit ;;
1092      s390:Linux:*:* | s390x:Linux:*:*)      s390:Linux:*:* | s390x:Linux:*:*)
# Line 1483  EOF Line 1482  EOF
1482      i*86:rdos:*:*)      i*86:rdos:*:*)
1483          echo "$UNAME_MACHINE"-pc-rdos          echo "$UNAME_MACHINE"-pc-rdos
1484          exit ;;          exit ;;
1485      i*86:AROS:*:*)      *:AROS:*:*)
1486          echo "$UNAME_MACHINE"-pc-aros          echo "$UNAME_MACHINE"-unknown-aros
1487          exit ;;          exit ;;
1488      x86_64:VMkernel:*:*)      x86_64:VMkernel:*:*)
1489          echo "$UNAME_MACHINE"-unknown-esx          echo "$UNAME_MACHINE"-unknown-esx

Legend:
Removed from v.9912  
changed lines
  Added in v.9913

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.28