You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Mo DeJong <md...@cygnus.com> on 2001/07/06 07:12:46 UTC
Patches to fix srcdir != builddir
Here are a couple of patches to fix recent bustage
with respect to building outside of the src dir.
cheers
Mo
Index: configure.in
===================================================================
RCS file:
/usr/local/tigris/data/helm/cvs/repository/subversion/configure.in,v
retrieving revision 1.98
diff -u -r1.98 configure.in
--- configure.in 2001/06/29 00:12:57 1.98
+++ configure.in 2001/07/06 06:51:04
@@ -209,7 +221,7 @@
dnl Find a version of GNU patch
AC_MSG_CHECKING([for GNU patch])
-SVN_CLIENT_PATCH="`ac-helpers/gnu-patch.sh`"
+SVN_CLIENT_PATCH="`${abs_srcdir}/ac-helpers/gnu-patch.sh`"
if test "$SVN_CLIENT_PATCH" = ""; then
AC_MSG_ERROR([not found
@@ -224,7 +236,7 @@
dnl Find a (non-broken) version of GNU diff
AC_MSG_CHECKING([for non-broken GNU diff])
-SVN_CLIENT_DIFF="`ac-helpers/gnu-diff.sh $SVN_CLIENT_PATCH`"
+SVN_CLIENT_DIFF="`${abs_srcdir}/ac-helpers/gnu-diff.sh $SVN_CLIENT_PATCH`"
if test "$SVN_CLIENT_DIFF" = ""; then
AC_MSG_ERROR([not found
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Patches to fix srcdir != builddir
Posted by Mo DeJong <md...@cygnus.com>.
On 6 Jul 2001, Ben Collins-Sussman wrote:
> Mo DeJong <md...@cygnus.com> writes:
>
> > Here are a couple of patches to fix recent bustage
> > with respect to building outside of the src dir.
>
> Patched, thanks.
>
> I thought that the whole "srcdir != builddir" situation was currently
> broken. Is that not true?
It should be working now. It was broken by the genmake thing
for a bit, but those problems were resolved. I just get the feeling
that I am the only one using this feature since it seems to come
up broken a lot (pout).
If anyone wants to try it, here is how:
(Using ~/project/build is the just the way I do it)
mkdir ~/project/install/subversion
cd ~/project/build
mkdir subversion ; cd subversion
~/project/subversion/configure --enable-debug \
--prefix=`cd ~/project/install/subversion;pwd`
make
make install
This really is a cool feature since it lets you build
static and dynamic versions from the same source in
two different directories, for example.
cheers
Mo
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Patches to fix srcdir != builddir
Posted by Ben Collins-Sussman <su...@collab.net>.
Mo DeJong <md...@cygnus.com> writes:
> Here are a couple of patches to fix recent bustage
> with respect to building outside of the src dir.
Patched, thanks.
I thought that the whole "srcdir != builddir" situation was currently
broken. Is that not true?
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org