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

Re: [PATCH] Fix build/ac-macros/aprutil.m4 to actually set SVN_APRUTIL_PREFIX

From: Greg Stein <gstein_at_gmail.com>
Date: Thu, 2 Oct 2008 02:03:55 -0700

Oh belay the upstream thing. It's the find-*.m4 files from upstream.

On Thu, Oct 2, 2008 at 2:02 AM, Greg Stein <gstein_at_gmail.com> wrote:
> +1
>
> I believe this file is a copy of an upstream file, meaning this patch
> should go upstream, too.
>
> (or at least originally, apr.m4 and aprutil.m4 came from upstream;
> hopefully they haven't diverged)
>
> Cheers,
> -g
>
> 2008/10/1 Jeremy Whitlock <jcscoobyrs_at_gmail.com>:
>> Hi All,
>> While working on integrating the ctypes-python bindings into the
>> build infrastructure, I realized that the SVN_APRUTIL_PREFIX output
>> variable in build/ac-macros/aprutil.m4 was never being set, which lead
>> to SVN_APRUTIL_PREFIX not being set in the Makefile. This is not the
>> case with SVN_APR_PREFIX so after a little digging, I see that the
>> code for retrieving, testing and setting SVN_APRUTIL_PREFIX was
>> missing from build/ac-macros/aprutil.m4. The patch attached, and
>> pasted below, fixes this. (While this hasn't been an issue to this
>> point, at least not one that's been pointed out, for those make
>> targets/variables that would like to know the path to apr-util, this
>> becomes an issue.) Please let me know what I can do to get this
>> approved.
>>
>> --
>> Take care,
>>
>> Jeremy Whitlock
>> http://www.thoughtspark.org
>>
>> [[[
>> * build/ac-macros/aprutil.m4: Fix the script to actually retrieve, test and set
>> the SVN_APRUTIL_PREFIX output variable.
>> ]]]
>>
>> Index: build/ac-macros/aprutil.m4
>> ===================================================================
>> --- build/ac-macros/aprutil.m4 (revision 33392)
>> +++ build/ac-macros/aprutil.m4 (working copy)
>> @@ -72,6 +72,11 @@
>> AC_MSG_ERROR([apu-config --includes failed])
>> fi
>>
>> + SVN_APRUTIL_PREFIX="`$apu_config --prefix`"
>> + if test $? -ne 0; then
>> + AC_MSG_ERROR([apu-config --prefix failed])
>> + fi
>> +
>> dnl When APR stores the dependent libs in the .la file, we don't need
>> dnl --libs.
>> SVN_APRUTIL_LIBS="`$apu_config --link-libtool --libs`"
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
>> For additional commands, e-mail: dev-help_at_subversion.tigris.org
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-10-02 11:04:02 CEST

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.