summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apr-config.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/apr-config.in b/apr-config.in
index 8637d63ca..8644321c9 100644
--- a/apr-config.in
+++ b/apr-config.in
@@ -114,7 +114,8 @@ fi
thisdir="`dirname $0`"
thisdir="`cd $thisdir && pwd`"
-if test "$bindir" = "$thisdir"; then
+tmpbindir="`cd $bindir && pwd`"
+if test "$tmpbindir" = "$thisdir"; then
location=installed
elif test "$APR_SOURCE_DIR" = "$thisdir"; then
location=source