< prev index next >

make/autoconf/build-aux/autoconf-config.guess

Print this page

   1 #! /bin/sh
   2 #
   3 # Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
   4 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   5 #
   6 # This code is free software; you can redistribute it and/or modify it
   7 # under the terms of the GNU General Public License version 2 only, as
   8 # published by the Free Software Foundation.  Oracle designates this
   9 # particular file as subject to the "Classpath" exception as provided
  10 # by Oracle in the LICENSE file that accompanied this code.
  11 #
  12 # This code is distributed in the hope that it will be useful, but WITHOUT
  13 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  14 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  15 # version 2 for more details (a copy is included in the LICENSE file that
  16 # accompanied this code).
  17 #
  18 # You should have received a copy of the GNU General Public License version
  19 # 2 along with this work; if not, write to the Free Software Foundation,
  20 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  21 #
  22 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  23 # or visit www.oracle.com if you need additional information or have any

 983     padre:Linux:*:*)
 984 	echo sparc-unknown-linux-gnu
 985 	exit ;;
 986     parisc64:Linux:*:* | hppa64:Linux:*:*)
 987 	echo hppa64-unknown-linux-gnu
 988 	exit ;;
 989     parisc:Linux:*:* | hppa:Linux:*:*)
 990 	# Look for CPU level
 991 	case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
 992 	  PA7*) echo hppa1.1-unknown-linux-gnu ;;
 993 	  PA8*) echo hppa2.0-unknown-linux-gnu ;;
 994 	  *)    echo hppa-unknown-linux-gnu ;;
 995 	esac
 996 	exit ;;
 997     ppc64:Linux:*:*)
 998 	echo powerpc64-unknown-linux-gnu
 999 	exit ;;
1000     ppc:Linux:*:*)
1001 	echo powerpc-unknown-linux-gnu
1002 	exit ;;



1003     s390:Linux:*:* | s390x:Linux:*:*)
1004 	echo ${UNAME_MACHINE}-ibm-linux
1005 	exit ;;
1006     sh64*:Linux:*:*)
1007 	echo ${UNAME_MACHINE}-unknown-linux-gnu
1008 	exit ;;
1009     sh*:Linux:*:*)
1010 	echo ${UNAME_MACHINE}-unknown-linux-gnu
1011 	exit ;;
1012     sparc:Linux:*:* | sparc64:Linux:*:*)
1013 	echo ${UNAME_MACHINE}-unknown-linux-gnu
1014 	exit ;;
1015     tile*:Linux:*:*)
1016 	echo ${UNAME_MACHINE}-unknown-linux-gnu
1017 	exit ;;
1018     vax:Linux:*:*)
1019 	echo ${UNAME_MACHINE}-dec-linux-gnu
1020 	exit ;;
1021     x86_64:Linux:*:*)
1022 	echo ${UNAME_MACHINE}-unknown-linux-gnu

   1 #! /bin/sh
   2 #
   3 # Copyright (c) 2012, 2021, Oracle and/or its affiliates. All rights reserved.
   4 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   5 #
   6 # This code is free software; you can redistribute it and/or modify it
   7 # under the terms of the GNU General Public License version 2 only, as
   8 # published by the Free Software Foundation.  Oracle designates this
   9 # particular file as subject to the "Classpath" exception as provided
  10 # by Oracle in the LICENSE file that accompanied this code.
  11 #
  12 # This code is distributed in the hope that it will be useful, but WITHOUT
  13 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  14 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  15 # version 2 for more details (a copy is included in the LICENSE file that
  16 # accompanied this code).
  17 #
  18 # You should have received a copy of the GNU General Public License version
  19 # 2 along with this work; if not, write to the Free Software Foundation,
  20 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  21 #
  22 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  23 # or visit www.oracle.com if you need additional information or have any

 983     padre:Linux:*:*)
 984 	echo sparc-unknown-linux-gnu
 985 	exit ;;
 986     parisc64:Linux:*:* | hppa64:Linux:*:*)
 987 	echo hppa64-unknown-linux-gnu
 988 	exit ;;
 989     parisc:Linux:*:* | hppa:Linux:*:*)
 990 	# Look for CPU level
 991 	case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
 992 	  PA7*) echo hppa1.1-unknown-linux-gnu ;;
 993 	  PA8*) echo hppa2.0-unknown-linux-gnu ;;
 994 	  *)    echo hppa-unknown-linux-gnu ;;
 995 	esac
 996 	exit ;;
 997     ppc64:Linux:*:*)
 998 	echo powerpc64-unknown-linux-gnu
 999 	exit ;;
1000     ppc:Linux:*:*)
1001 	echo powerpc-unknown-linux-gnu
1002 	exit ;;
1003     riscv64:Linux:*:*)
1004 	echo riscv64-unknown-linux-gnu
1005 	exit ;;
1006     s390:Linux:*:* | s390x:Linux:*:*)
1007 	echo ${UNAME_MACHINE}-ibm-linux
1008 	exit ;;
1009     sh64*:Linux:*:*)
1010 	echo ${UNAME_MACHINE}-unknown-linux-gnu
1011 	exit ;;
1012     sh*:Linux:*:*)
1013 	echo ${UNAME_MACHINE}-unknown-linux-gnu
1014 	exit ;;
1015     sparc:Linux:*:* | sparc64:Linux:*:*)
1016 	echo ${UNAME_MACHINE}-unknown-linux-gnu
1017 	exit ;;
1018     tile*:Linux:*:*)
1019 	echo ${UNAME_MACHINE}-unknown-linux-gnu
1020 	exit ;;
1021     vax:Linux:*:*)
1022 	echo ${UNAME_MACHINE}-dec-linux-gnu
1023 	exit ;;
1024     x86_64:Linux:*:*)
1025 	echo ${UNAME_MACHINE}-unknown-linux-gnu
< prev index next >