#!/bin/sh

THIS_OBJ=`pwd`
cd ..
TEST_ROOT=`pwd`
THIS_INST=`pwd`/inst/svn
cd ${THIS_OBJ}

env CC='gcc' "../svn/configure"                                        \
       "--prefix=${THIS_INST}"                                         \
       "--with-apr=${TEST_ROOT}/inst/apr-0.9/bin/apr-config"           \
       "--with-apr-util=${TEST_ROOT}/inst/apr-util-0.9/bin/apu-config" \
       "--with-apxs=${TEST_ROOT}/inst/httpd-2.0/bin/apxs"              \
       "$@"
