]> granicus.if.org Git - apache/commitdiff
For included APR, apr-config is not in the srcdir but instead
authorRainer Jung <rjung@apache.org>
Sat, 5 Jun 2010 21:10:21 +0000 (21:10 +0000)
committerRainer Jung <rjung@apache.org>
Sat, 5 Jun 2010 21:10:21 +0000 (21:10 +0000)
in the builddir. That only matters for VPATH builds, ie. when
you build outside of the source tree.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@951769 13f79535-47bb-0310-9956-ffa450edef68

configure.in

index dc487c1f8ae84e5e7bd7f3efb342bfcb1591e0b7..eca5a08fc7f362133b617dfbab200c10161174e4 100644 (file)
@@ -93,9 +93,9 @@ if test "$apr_found" = "reconfig"; then
 
   dnl We have to find apr-N-config when we reconfigure APR.
   for majorver in 1 2; do
-    test_apr_config="$srcdir/srclib/apr/apr-${majorver}-config"
-    if test -f $test_apr_config; then
-      apr_config=$test_apr_config
+    test_apr_config="./srclib/apr/apr-${majorver}-config"
+    if test -f "$test_apr_config"; then
+      apr_config="$test_apr_config"
     fi
   done
 fi