apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Pilch-Bisson <ke...@pilch-bisson.net>
Subject [PATCH]: Use $(builddir)/build for @INCLUDE_RULES@
Date Mon, 19 Feb 2001 14:18:40 GMT
Hi all,

Just noticed that since the move of helper files to apr/build, vpath
builds don't work anymore, since APR tries to include rules.mk from the
srcdir, but it is generated in the builddir.  This patch fixes that.


Index: configure.in
===================================================================
RCS file: /home/cvspublic/apr/configure.in,v
retrieving revision 1.228
diff -u -p -r1.228 configure.in
--- configure.in	2001/02/18 15:52:12	1.228
+++ configure.in	2001/02/19 14:19:49
@@ -31,7 +31,9 @@ if test "$abs_builddir" != "$abs_srcdir"
 fi
 
 dnl Directory containing apr build macros, helpers, and make rules
+dnl NOTE: make rules (rules.mk) will be in the builddir for vpath builds.
 apr_builders=$abs_srcdir/build
+apr_built_builders=$abs_builddir/build
 AC_SUBST(apr_builders)
 
 MKDIR=$apr_builders/mkdir.sh
@@ -920,10 +922,10 @@ dnl BSD/OS (BSDi) needs to use a differe
 dnl
 case "$host_alias" in
 *bsdi*)
-    INCLUDE_RULES=".include \"$apr_builders/rules.mk\""
+    INCLUDE_RULES=".include \"$apr_built_builders/rules.mk\""
     ;;
 *)
-    INCLUDE_RULES="include $apr_builders/rules.mk"
+    INCLUDE_RULES="include $apr_built_builders/rules.mk"
     ;;
 esac
 AC_SUBST(INCLUDE_RULES)
-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kevin Pilch-Bisson                    http://www.pilch-bisson.net
     "Historically speaking, the presences of wheels in Unix
     has never precluded their reinvention." - Larry Wall
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Mime
View raw message