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

Re: [PATCH] configure does not find apr{,-util} in /usr/local/apache2

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2002-06-12 23:45:06 CEST

Eric Gillespie <epg@pretzelnet.org> writes:

> The problem was that the apr macros don't search the standard paths
> unless a third argument of 1 is passed to them, that's kinda silly,
> but this is a simple fix.
>
> Index: ./ac-helpers/aprutil.m4
> ===================================================================
> --- ./ac-helpers/aprutil.m4
> +++ ./ac-helpers/aprutil.m4 Wed Jun 12 14:59:53 2002
> @@ -14,7 +14,7 @@
> [
> AC_MSG_NOTICE([Apache Portable Runtime Utility (APRUTIL) library configuration])
>
> - APR_FIND_APU("$srcdir/apr-util", "./apr-util")
> + APR_FIND_APU("$srcdir/apr-util", "./apr-util", 1)
>
> if test $apu_found = "no"; then
> AC_MSG_WARN([APRUTIL not found])
> Index: ./ac-helpers/apr.m4
> ===================================================================
> --- ./ac-helpers/apr.m4
> +++ ./ac-helpers/apr.m4 Wed Jun 12 14:59:15 2002
> @@ -9,7 +9,7 @@
> [
> AC_MSG_NOTICE([Apache Portable Runtime (APR) library configuration])
>
> - APR_FIND_APR("$srcdir/apr", "./apr")
> + APR_FIND_APR("$srcdir/apr", "./apr", 1)
>
> if test $apr_found = "no"; then
> AC_MSG_WARN([APR not found])

This appears to stop configure finding apr and apr-util in the
Subversion source dir.

It helps if you can supply a log message with your patch, then we
don't have to think one up.

-- 
Philip
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jun 12 23:45:43 2002

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