gstein 02/03/13 18:18:47
Modified: . apr-config.in
Log:
Fix the install detection code in case the install area uses a
symbolic link.
Submitted by: Garrett Rooney <[EMAIL PROTECTED]>
Revision Changes Path
1.14 +2 -1 apr/apr-config.in
Index: apr-config.in
===================================================================
RCS file: /home/cvs/apr/apr-config.in,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- apr-config.in 13 Mar 2002 20:39:08 -0000 1.13
+++ apr-config.in 14 Mar 2002 02:18:47 -0000 1.14
@@ -114,7 +114,8 @@
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