1 |
#!/bin/sh |
2 |
|
3 |
HTTPSERVER="http://killigrew.ukc.ac.uk/" |
4 |
|
5 |
echo "Generating Makefile includes" |
6 |
echo "SOURCEROOT="`pwd` > Config.inc |
7 |
echo "include \$(SOURCEROOT)/Config2.inc" >> Config.inc |
8 |
|
9 |
echo "Checking for required libraries" |
10 |
cd build/lib |
11 |
|
12 |
if test -r "jaxp.jar"; then \ |
13 |
echo " jaxp.jar found"; \ |
14 |
else \ |
15 |
echo " jaxp.jar not found, fetching from ${HTTPSERVER}jaxp.jar"; \ |
16 |
/usr/local/bin/wget -nv ${HTTPSERVER}jaxp.jar; \ |
17 |
fi |
18 |
|
19 |
if test -r "parser.jar"; then \ |
20 |
echo " parser.jar found"; \ |
21 |
else \ |
22 |
echo " parser.jar not found, fetching from ${HTTPSERVER}parser.jar"; \ |
23 |
/usr/local/bin/wget -nv ${HTTPSERVER}parser.jar; \ |
24 |
fi |
25 |
|
26 |
if test -r "iscream-util.jar"; then \ |
27 |
echo " iscream-util.jar found"; \ |
28 |
else \ |
29 |
echo " iscream-util.jar not found, fetching from ${HTTPSERVER}iscream-util.jar"; \ |
30 |
/usr/local/bin/wget -nv ${HTTPSERVER}iscream-util.jar; \ |
31 |
fi |
32 |
|
33 |
echo "Configure Completed" |