1 diff --git a/apr-config.in b/apr-config.in
2 index bed47cacb..2cba29b1d 100644
5 @@ -39,7 +39,7 @@ LDFLAGS="@EXTRA_LDFLAGS@"
7 EXTRA_INCLUDES="@EXTRA_INCLUDES@"
8 SHLIBPATH_VAR="@shlibpath_var@"
9 -APR_SOURCE_DIR="@apr_srcdir@"
10 +APR_SOURCE_DIR="$(cd @installbuilddir@/.. ; pwd)"
11 APR_BUILD_DIR="@apr_builddir@"
13 APR_LIB_TARGET="@export_lib_target@"
14 @@ -243,13 +243,7 @@ while test $# -gt 0; do
18 - if test "$location" = "installed"; then
19 - echo "${installbuilddir}/libtool"
20 - elif test "$location" = "crosscompile"; then
21 - echo "$APR_TARGET_DIR/${installbuilddir}/libtool"
23 - echo "$APR_BUILD_DIR/libtool"
25 + echo "$installbuilddir/libtool"