Debian Codegraph @

canon-system

raw
1 #!/bin/sh
2
3 if [ x$1 != x ]; then
4 TARGET=$1
5 else
6 TARGET=`./config.guess`
7 fi
8
9 case "${TARGET}" in
10 alpha*-dec-osf4.0*)
11 echo alpha-osf4
12 exit 0;;
13 alpha*-dec-osf5.1)
14 echo alpha-osf51
15 exit 0;;
16 sparc-sun-solaris2.*)
17 echo sparc-solaris2
18 exit 0;;
19 i[34567]86-*-solaris2.*)
20 echo intel-solaris2
21 exit 0;;
22 powerpc-ibm-aix4.3.*)
23 echo rs6000
24 exit 0;;
25 mips-sgi-irix6.5)
26 echo mips-irix6.5
27 exit 0;;
28
29 i[34567]86-sco-sysv5*)
30 echo intel-unixware7
31 exit 0;;
32
33 i[34567]86-*-linux-gnu*)
34 echo intel-linux-gnu
35 exit 0;;
36
37 arm*-*-linux-gnu*)
38 echo arm7l-linux-gnu
39 exit 0;;
40 aarch*-*-linux-gnu*)
41 echo aarch64-linux-gnu
42 exit 0;;
43
44 i386-apple-darwin*)
45 echo intel-macosx-gnu
46 exit 0;;
47 x86_64-apple-darwin*)
48 echo intel-macosx-gnu
49 exit 0;;
50 aarch64-apple-darwin*)
51 echo aarch64-apple-darwin
52 exit 0;;
53 i[34567]86-*-cygwin*)
54 echo cygwin
55 exit 0;;
56 i[34567]86-*-cygwin*)
57 echo cygwin
58 exit 0;;
59 x86_64-*-cygwin*)
60 echo cygwin
61 exit 0;;
62 x86_64-*-linux-gnu*)
63 echo amd64-linux-gnu
64 exit 0;;
65 *)
66 echo Sorry! This platform \(${TARGET}\) is unsupported. 1>&2
67 exit 1;;
68 esac;