summaryrefslogtreecommitdiff
path: root/apr-config.in
diff options
context:
space:
mode:
authorGreg Stein <gstein@apache.org>2002-03-14 02:18:47 +0000
committerGreg Stein <gstein@apache.org>2002-03-14 02:18:47 +0000
commit234119f1d90d39ee61cf177bf46b299d71c2a482 (patch)
treedd7fa4925b34172153b2726729a823bcadebab38 /apr-config.in
parent775f75f8f66b1bbfcb272bf6dd251161efb4c5a4 (diff)
downloadapr-234119f1d90d39ee61cf177bf46b299d71c2a482.tar.gz
Fix the install detection code in case the install area uses a
symbolic link. Submitted by: Garrett Rooney <rooneg@electricjellyfish.net> git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63119 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'apr-config.in')
-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