#!/bin/sh
prefix=/usr/local/test
rm -rf /tmp/global7
cp -rp $HOME/jobs/18.gnuglobal/cvs/global7 /tmp
cd /tmp/global7
sh reconf.sh
case $1 in
legacy)
	./configure --prefix=$prefix;;
sqlite3)
	./configure --prefix=$prefix --with-parallel --with-sqlite3;;
*)
	./configure --prefix=$prefix --with-parallel;;
esac
make
sudo make install
