Subject: Re: bug#20903: aclocal failure when installed to prefix containing '@'

From: Mathieu Lirzin <[email-masked]>
Date: Sat, 15 Jul 2017 17:36:05 +0200

Hello,

Thomas Jahns <[email-masked]> writes:

> On 06/26/15 17:23, Eric Bavier wrote:
>> This seems related to perl's array interpolation in strings.  Line 72 contains:
>>
>> my @automake_includes =
>> ("/ptmp/bavier/projects/spack/opt/unknown_arch/[email-masked]/[email-masked]/share/aclocal-$APIVERSION");
>>
>>
>> Replacing the '@' characters with "\@" lets aclocal run without error.
>
> But the better method would be to get the desired effect without
> string interpolation here, i.e. to write something that becomes
>
> my @automake_includes =
> ('/ptmp/bavier/projects/spack/opt/unknown_arch/[email-masked]/[email-masked]/share/aclocal-' 
> . $APIVERSION);
>
> Please see the attached (passes make check on Debian x64, but
> otherwise untested) patch

Thanks, I have applied this patch in commit
fd244f28f5637e13009f75b6962d03401b22149c in your name.

Eric: Thank you for the bug report.

-- 
Mathieu Lirzin
GPG: F2A3 8D7E EB2B 6640 5761  070D 0ADE E100 9460 4D37