rm -f srclib/apr/apr.spec
fi
+apr_src_dir=`cd $apr_src_dir && pwd`
+
apreq_configure="srclib/libapreq"
echo
echo rebuilding $apreq_configure
-(cd srclib/libapreq && ./buildconf) || {
+(cd srclib/libapreq && ./buildconf --with-apr="$apr_src_dir") || {
echo "./buildconf failed for apreq"
exit 1
}
-apr_src_dir=`cd $apr_src_dir && pwd`
-
if [ $apr_major_version -lt 2 ] ; then
if [ "$apu_src_dir" = "srclib/apr-util" ]; then
echo rebuilding $aprutil_configure