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

From: Thomas Jahns <[email-masked]>
Date: Mon, 29 Jun 2015 11:24:55 +0200

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

Thomas
-- 
Thomas Jahns
HD(CP)^2
Abteilung Anwendungssoftware

Deutsches Klimarechenzentrum GmbH
Bundesstraße 45a • D-20146 Hamburg • Germany

Phone:  +49 40 460094-151
Fax:    +49 40 460094-270
Email:  Thomas Jahns <[email-masked]>
URL:    www.dkrz.de

Geschäftsführer: Prof. Dr. Thomas Ludwig
Sitz der Gesellschaft: Hamburg
Amtsgericht Hamburg HRB 39784