#!/bin/sh

THIS_OBJ=`pwd`
cd ..
TEST_ROOT=`pwd`
THIS_INST=`pwd`/inst/apr-util-0.9
THIS_SRC=`pwd`/apr-util-0.9

cd ${THIS_SRC}
./buildconf --with-apr=${TEST_ROOT}/apr-0.9
cd ${THIS_OBJ}

../apr-util-0.9/configure --with-apr=${TEST_ROOT}/inst/apr-0.9 \
                          --prefix=${THIS_INST}                \
                          "$@"
