comparison contrib/splicex/configure @ 701:2cbcd5edb31d draft

SpliceX update
author d3v11 <d3v11@d3v11.ano>
date Fri, 28 Oct 2011 20:42:24 -0400
parents e930c37c85dc
children dc8f88270f6a
comparison
equal deleted inserted replaced
700:e930c37c85dc 701:2cbcd5edb31d
2 if [ -z "$1" ]; then 2 if [ -z "$1" ]; then
3 echo 'usage: ./configure <python[version]>' 3 echo 'usage: ./configure <python[version]>'
4 exit 1 4 exit 1
5 fi 5 fi
6 6
7 echo -ne 'checking for python...' 7 echo -e 'checking dependencies: '
8 echo -ne " checking for python as <$1>..."
8 if which `which "$1"` >/dev/null; then 9 if which `which "$1"` >/dev/null; then
9 PYPATH=`which "$1"` 10 PYPATH=`which "$1"`
10 echo -ne ' OK' 11 echo -ne ' OK'
11 echo 12 echo
12 else 13 else
13 echo -ne ' FAILED' 14 echo -ne ' FAILED'
14 exit 1 15 exit 1
15 fi 16 fi
16 17
17 echo -ne 'checking for man...' 18 echo -ne ' checking for man...'
18 if which man >/dev/null; then 19 if which man >/dev/null; then
19 echo -ne ' OK' 20 echo -ne ' OK'
20 echo 21 echo
21 else 22 else
22 echo -ne ' FAILED' 23 echo -ne ' FAILED'
23 exit 1 24 exit 1
24 fi 25 fi
25 26
26 echo -ne 'checking for cython...' 27 echo -ne ' checking for cython...'
27 if which cython >/dev/null; then 28 if which cython >/dev/null; then
28 echo -ne ' OK' 29 echo -ne ' OK'
29 echo 30 echo
30 else 31 else
31 echo -ne ' FAILED' 32 echo -ne ' FAILED'
32 exit 1 33 exit 1
33 fi 34 fi
34 35
35 echo -ne 'checking for gcc...' 36 echo -ne ' checking for gcc...'
36 if which gcc >/dev/null; then 37 if which gcc >/dev/null; then
37 echo -ne ' OK' 38 echo -ne ' OK'
38 echo 39 echo
39 else 40 else
40 echo -ne ' FAILED' 41 echo -ne ' FAILED'