]> granicus.if.org Git - apache/commitdiff
* buildconf: Pass through APR source dir to apreq's buildconf.
authorJoe Orton <jorton@apache.org>
Thu, 10 Nov 2011 22:22:01 +0000 (22:22 +0000)
committerJoe Orton <jorton@apache.org>
Thu, 10 Nov 2011 22:22:01 +0000 (22:22 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1200600 13f79535-47bb-0310-9956-ffa450edef68

buildconf

index c2e425bdccd6347a52d322c264717f1c6cf165ba..56c375d9ba0072c9baf5b3be644c0afa5a20572d 100755 (executable)
--- 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