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