bug-automake
[Top][All Lists]
Advanced

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

bug#25299: '@' character in installation prefix breaks automake-1.15


From: Brantley, Michael
Subject: bug#25299: '@' character in installation prefix breaks automake-1.15
Date: Fri, 30 Dec 2016 16:06:57 +0000

Configuring automake to install to a path containing a ‘@’ character breaks the compilation as shown in the attached typescripts. We found that we were able to work around the bug with the following patch:

 

diff --git a/bin/aclocal.in b/bin/aclocal.in

index 349f24a2..c8ab8b3e 100644

--- a/bin/aclocal.in

+++ b/bin/aclocal.in

@@ -69,7 +69,7 @@ $perl_threads = 0;

# ACLOCAL_PATH environment variable, and reset with the '--system-acdir'

# option.

my @user_includes = ();

-my @automake_includes = ("@datadir@/aclocal-$APIVERSION");

+my @automake_includes = ('@datadir@/aclocal-' . $APIVERSION);

my @system_includes = ('@datadir@/aclocal');

 

# Whether we should copy M4 file in $user_includes[0].

 

In considering alternative fixes we found that we could equally address the problem by replacing the double-quoted string with '@datadir@/address@hidden@', similar to the use of @APIVERSION@ on line 30, but elected to continue the use of $APIVERSION in the event that there was a specific reason for using the Perl variable in this instance.

 

Regards,

 

Michael Brantley

Attachment: typescript.good.txt
Description: typescript.good.txt

Attachment: typescript.bad.txt
Description: typescript.bad.txt


reply via email to

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