diff options
author | Greg Stein <gstein@apache.org> | 2002-03-14 02:18:47 +0000 |
---|---|---|
committer | Greg Stein <gstein@apache.org> | 2002-03-14 02:18:47 +0000 |
commit | 234119f1d90d39ee61cf177bf46b299d71c2a482 (patch) | |
tree | dd7fa4925b34172153b2726729a823bcadebab38 /apr-config.in | |
parent | 775f75f8f66b1bbfcb272bf6dd251161efb4c5a4 (diff) | |
download | apr-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.in | 3 |
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 |