[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: rev 1134 - trunk/ac-helpers

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2002-02-02 00:03:51 CET

philip@tigris.org writes:

> Author: philip
> Date: 2002-02-01 18:02 GMT
> New Revision: 1134
>
> Modified:
> trunk/ac-helpers/apr.m4
> trunk/ac-helpers/aprutil.m4
> Log:
> Enable configure to find apr and apr-util when builddir != srcdir
>
> * ac-helpers/apr.m4: look for apr in $srcdir explicitly
>
> * ac-helpers/aprutil.m4: look for apr-util in $srcdir explicitly
>
>
> Modified: trunk/ac-helpers/aprutil.m4
> ==============================================================================
> --- OLD/trunk/ac-helpers/aprutil.m4 Fri Feb 1 12:02:30 2002
> +++ NEW/trunk/ac-helpers/aprutil.m4 Fri Feb 1 12:02:30 2002
> @@ -14,7 +14,7 @@
> [
> AC_MSG_NOTICE([Apache Portable Runtime Utility (APRUTIL) library configuration])
>
> - APR_FIND_APU(apr-util, $abs_builddir)
> + APR_FIND_APU($srcdir/apr-util, $abs_builddir)
>
> if test $apu_found = "no"; then
> AC_MSG_WARN([APRUTIL not found])
>
> Modified: trunk/ac-helpers/apr.m4
> ==============================================================================
> --- OLD/trunk/ac-helpers/apr.m4 Fri Feb 1 12:02:30 2002
> +++ NEW/trunk/ac-helpers/apr.m4 Fri Feb 1 12:02:30 2002
> @@ -9,7 +9,7 @@
>
> AC_MSG_NOTICE([Apache Portable Runtime (APR) library configuration])
>
> - APR_FIND_APR(apr, $abs_builddir)
> + APR_FIND_APR($srcdir/apr, $abs_builddir)
>
> if test $apr_found = "no"; then
> AC_MSG_WARN([APR not found])

This doesn't really work. It allows a builddir != srcdir build to
complete, but only by building apr and apr-util in the srcdir. I hate
hacking configure :-(

-- 
Philip
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:37:03 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.