summaryrefslogtreecommitdiff
path: root/apr-config.in
diff options
context:
space:
mode:
authorgstein <gstein@13f79535-47bb-0310-9956-ffa450edef68>2002-03-14 02:18:47 +0000
committergstein <gstein@13f79535-47bb-0310-9956-ffa450edef68>2002-03-14 02:18:47 +0000
commita195e36ad5cfd2502f2a2356e5e944f6f5e2c29c (patch)
treedd7fa4925b34172153b2726729a823bcadebab38 /apr-config.in
parent172a6b1c49a1771c0f36c3848b808f10720054ab (diff)
downloadlibapr-a195e36ad5cfd2502f2a2356e5e944f6f5e2c29c.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: http://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