repo.or.cz
/
syslinux-debian
/
hramrach.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Adding upstream version 4.01+dfsg.
[syslinux-debian/hramrach.git]
/
win32
/
find-mingw.sh
blob
7a4491cdfb63c60e598a2080ddb494204e2b67a8
1
#!/bin/sh
2
3
cc
=
"
$1
"
4
5
for
prefix
in
\
6
mingw- \
7
i386-pc-mingw32- \
8
i486-pc-mingw32- \
9
i586-pc-mingw32- \
10
i686-pc-mingw32- \
11
i386-pc-mingw32msvc- \
12
i486-pc-mingw32msvc- \
13
i586-pc-mingw32msvc- \
14
i686-pc-mingw32msvc- \
15
i386-mingw32- \
16
i486-mingw32- \
17
i586-mingw32- \
18
i686-mingw32- \
19
i386-mingw32msvc- \
20
i486-mingw32msvc- \
21
i586-mingw32msvc- \
22
i686-mingw32msvc-
;
do
23
if
"
${prefix}
${cc}
"
-v
> /
dev
/
null
2
>&
1
;
then
24
echo
"
$prefix
"
25
exit
0
26
fi
27
done
28
29
# No prefix, no idea what to do now...
30
echo
missing-
31
exit
1