bug-libtool
[Top][All Lists]
Advanced

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

[master,v2.2.6] using NL2SP in archive_expsym_cmds


From: Michael Haubenwallner
Subject: [master,v2.2.6] using NL2SP in archive_expsym_cmds
Date: Mon, 17 Nov 2008 11:31:18 +0100

Hi,

when I tried
        archive_expsym_cmds='var=`somecommand | $NL2SP`'
NL2SP did not turn newlines into blanks (on AIX here).
Instead it turned '1' to '4', '2' to '0' and '5' to '0'.
Seems 'tr' does not see '\015\012' but '015012', because there is too
few backslash escapement to allow using NL2SP within [eval].

But defining NL2SP to have more backslashes would not work either, as it
is used in ltmain.m4sh without 'eval' too, for example:
        progfiles=`$ECHO "X$objs$old_deplibs" | $SP2NL | $Xsed -e "$lo2o" | 
$NL2SP`

So I ended up in doing it myself, like:
        archive_expsym_cmds='var=`somecommand | tr "\\015\\012" "\\040\\040"`'

How/where is NL2SP intended to be used?

Also I'm wondering if the "Portland Group C++ compiler" support still
works...

Thoughts?

/haubi/





reply via email to

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