You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by je...@apache.org on 2002/01/24 05:39:39 UTC
cvs commit: apr-util apu-config.in
jerenkrantz 02/01/23 20:39:39
Modified: . apu-config.in
Log:
Fix to work with VPATH builds.
Revision Changes Path
1.4 +3 -2 apr-util/apu-config.in
Index: apu-config.in
===================================================================
RCS file: /home/cvs/apr-util/apu-config.in,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- apu-config.in 19 Jan 2002 05:03:57 -0000 1.3
+++ apu-config.in 24 Jan 2002 04:39:38 -0000 1.4
@@ -60,6 +60,7 @@
BINDIR="@bindir@"
LIBDIR="@libdir@"
TOP_SRCDIR="@top_srcdir@"
+TOP_BUILDDIR="@top_builddir@"
LIBS="@APRUTIL_EXPORT_LIBS@"
INCLUDES="@APRUTIL_INCLUDES@"
LDFLAGS="@APRUTIL_LDFLAGS@"
@@ -100,9 +101,9 @@
;;
--libs)
if [ -f $PREFIX/lib/libexpat.la ] ; then
- TMP_SRCDIR=`echo "$TOP_SRCDIR/xml/expat" | sed 's/\\//\\\\\\//g'`
+ TMP_BUILDDIR=`echo "$TOP_BUILDDIR/xml/expat" | sed 's/\\//\\\\\\//g'`
TMP_PREFIX=`echo $PREFIX | sed 's/\\//\\\\\\//g'`
- LIBS=`echo "$LIBS" | sed "s/$TMP_SRCDIR/$TMP_PREFIX/g"`
+ LIBS=`echo "$LIBS" | sed "s/$TMP_BUILDDIR/$TMP_PREFIX/g"`
fi
echo "$LIBS"
;;