libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Add func_append_quoted and do inline func_append substitutio


From: Gary V. Vaughan
Subject: Re: [PATCH] Add func_append_quoted and do inline func_append substitutions.
Date: Sat, 3 Jul 2010 14:16:24 +0700

Hi Peter,

On 2 Jul 2010, at 00:25, Peter Rosin wrote:
> Den 2010-06-28 01:24 skrev Gary V. Vaughan:
>> Looking through the XSI substitutions, or more correctly the bash/ksh
>> func_append usage, there's room here to consistently use func_append
>> everywhere to make for easier maintenance... but rather than take the
>> additional overhead of a function call in the sensitive quadratic scaling
>> parts that prompted the introduction of the += idiom in the first place:
>> use the libtool rewriting  machinery to substitute inline `+=' where
>> possible, with a fallback to the earlier longhand otherwise.
>> 
>> Okay to push?
>> 
>> @@ -6569,7 +6572,7 @@ EOF
>>      *)
>>        case " $deplibs " in
>>        *" -L$path/$objdir "*)
>> -        new_libs="$new_libs -L$path/$objdir" ;;
>> +        func_append new_libs "_libs -L$path/$objdir" ;;
>>        esac
>>        ;;
>>      esac
> 
> This hunk is royally hosed.

Oops, that'll teach me to make patches with emacs keyboard macros :*)

Thanks for the fix!

> 2010-07-01  Peter Rosin  <address@hidden>
> 
>       Fix regression caused by "Add func_append_quoted and do..."
>       * libltdl/config/ltmain.m4sh (func_mode_link): Remove leftover
>       "_libs" trash.

Cheers,
-- 
Gary V. Vaughan (address@hidden)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]