--- projects/cms/source/server/configure 2001/03/14 22:01:08 1.9 +++ projects/cms/source/server/configure 2001/07/17 17:07:55 1.13 @@ -4,27 +4,27 @@ # i-scream Distributed Centralised Monitoring System # Server configure script # -# $Id: configure,v 1.9 2001/03/14 22:01:08 tdb Exp $ +# $Id: configure,v 1.13 2001/07/17 17:07:55 tdb Exp $ # ## Config # HTTP Server. This is the source of all downloads. -HTTPSERVER="http://killigrew.ukc.ac.uk/" +HTTPSERVER="http://www.i-scream.org.uk/downloads/lib/" # This script uses wget, set it's path and parameters here WGETPARAM="-nv" WGET="/usr/local/bin/wget ${WGETPARAM}" # This should always be the same -PWD=`pwd` +SRCROOT=`pwd` ## Library check echo "> Checking for required libraries" cd build/lib -LIBRARIES="crimson.jar idl.jar jacorb.jar jaxp.jar mm.mysql-2.0.2-bin.jar" +LIBRARIES="crimson.jar idl.jar jacorb.jar jaxp.jar mm.mysql-2.0.4-bin.jar" for LIB in ${LIBRARIES}; do @@ -32,7 +32,7 @@ for LIB in ${LIBRARIES}; do echo " + ${LIB} found"; \ else \ echo " - ${LIB} not found, fetching from ${HTTPSERVER}${LIB}"; \ - /usr/local/bin/wget -nv ${HTTPSERVER}${LIB}; \ + ${WGET} -nv ${HTTPSERVER}${LIB}; \ fi done @@ -45,16 +45,16 @@ if test -r "jacorb.properties"; then \ echo " + jacorb.properties found"; \ else \ echo " - jacorb.properties not found, fetching from ${HTTPSERVER}jacorb.properties"; \ - wget -nv ${HTTPSERVER}jacorb.properties; \ + ${WGET} ${HTTPSERVER}jacorb.properties; \ fi ## Write out the include file for the Makefile's echo "> Generating Makefile includes" echo " + writing root of source tree" -echo "SOURCEROOT=${PWD}" > ${PWD}/Config.inc +echo "SOURCEROOT=${SRCROOT}" > ${SRCROOT}/Config.inc echo " + writing include" -echo "include \$(SOURCEROOT)/Config2.inc" >> ${PWD}/Config.inc +echo "include \$(SOURCEROOT)/Config2.inc" >> ${SRCROOT}/Config.inc echo "> Configure Completed"