summaryrefslogtreecommitdiffstats
path: root/buildconf
diff options
context:
space:
mode:
Diffstat (limited to 'buildconf')
-rwxr-xr-xbuildconf6
1 files changed, 3 insertions, 3 deletions
diff --git a/buildconf b/buildconf
index c2e425bdcc..56c375d9ba 100755
--- a/buildconf
+++ b/buildconf
@@ -161,16 +161,16 @@ if [ "$apr_src_dir" = "srclib/apr" ]; then
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