summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorjerenkrantz <jerenkrantz@13f79535-47bb-0310-9956-ffa450edef68>2002-04-22 01:24:51 +0000
committerjerenkrantz <jerenkrantz@13f79535-47bb-0310-9956-ffa450edef68>2002-04-22 01:24:51 +0000
commitea28dde0c67b0c27e4a67767764ee21c1444c7e8 (patch)
tree544a59affb9a1ed79c8e9f5d1b32f3caa6e63f9b /configure.in
parent726803065c6842bc89066c6972e9a1b72bb3e6aa (diff)
downloadlibapr-ea28dde0c67b0c27e4a67767764ee21c1444c7e8.tar.gz
Allow VPATH builds to properly generate build dependencies. This requires
srcdir to always be available in a Makefile, so we need to stop adding this only when we use VPATH. Change the dependency generation to use .deps instead of appending to the Makefile. This makes us consistent with the dependency style of httpd-2.0. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63286 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in8
1 files changed, 1 insertions, 7 deletions
diff --git a/configure.in b/configure.in
index 4a4941727..d70c9ecf9 100644
--- a/configure.in
+++ b/configure.in
@@ -1717,13 +1717,7 @@ changequote({,})
if test -n "$USE_VPATH"; then
for makefile in $MAKEFILE1 $MAKEFILE2 $MAKEFILE3; do
- dir=`echo $makefile|sed 's%/*[^/][^/]*$%%'`
- (cat <<EOF
-srcdir = $apr_srcdir/$dir
-VPATH = $apr_srcdir/$dir
-
-EOF
-) | cat - $makefile | \
+ cat $makefile | \
sed \
-e 's#-I\($(INCDIR[0-9]*)\)#-I\1 -I$(srcdir)/\1#g' \
-e 's#-I\($(OSDIR[0-9]*)\)#-I\1 -I$(srcdir)/\1#g' \