#! /bin/sh
echo start
set -v on
set -x on

#---swu23's original configure file
# for linux
#./configure  --prefix=/home/db/swu23/pg_mw/local --with-repl-ue-spread=/home/db/swu23/spread_linux/lib --with-includes=/home/db/swu23/spread_linux/include --with-libraries=/home/db/swu23/spread_linux/lib --with-pgport=5458 --cache-file=/dev/null --enable-depend #--enable-syslog --enable-debug

# for Solary
#./configure  --prefix=/home/db/swu23/pg_mw/local --with-repl-ue-spread=/home/db/swu23/spread/lib --with-includes=/home/db/swu23/spread/include --with-pgport=5458 --cache-file=/dev/null --enable-depend --enable-syslog --enable-debug
#---End of swu23's configure file

./configure  --prefix=$POSTGRES_HOME --with-java --with-repl-ue-spread=$SPREAD_HOME --with-includes=$SPREAD_HOME --with-libraries=$SPREAD_HOME --enable-depend
