#!/bin/sh if [ moo$1 == moo--help ]; then echo usage: $0 [--help] [--with-libxyz=PATH] [--with-xyzuitk=PATH] exit fi for i in $@; do # echo Param = $i; case $i in --with-libxyz=*) xyz=`echo $i | cut -d= -f2`;; --with-xyzuitk=*) xyzuitk=`echo $i | cut -d= -f2`;; esac; done if [ moo$xyz == moo ]; then xyz=/usr/lib/libxyz.a; fi if [ moo$xyzuitk == moo ]; then xyzuitk=/usr/lib/libxyzuitk.a; fi echo "XYZ static library: $xyz"; echo "UITK static library: $xyzuitk"; if [ `uname` == Linux ]; then echo -n "Configuring for Linux... "; cat > Make.config <