repo.or.cz
/
HandBrake.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
WinGui: Fix another instance of the Caliburn vs Json.net sillyness where objects...
[HandBrake.git]
/
configure
blob
09c80b7fe194404f3cd01b8e692727eec45a9070
1
#! /bin/sh
2
#
3
4
inpath
()
5
{
6
IFS
=:
7
for
d
in
$PATH
8
do
9
if
[
-x
$d
/
$1
];
then
10
return
0
11
fi
12
done
13
return
1
14
}
15
16
for
p
in
python2.7 python2.6 python2.5 python2.4 python2 python
17
do
18
if
(
inpath
$p
);
then
19
exec
$p
`dirname
$0
`
/
make
/
configure.py
"$@"
20
exit
0
21
fi
22
done
23
24
echo
"ERROR: no suitable version of python found."
25
exit
1