On Thu, 1 Jan 2004, Joe Orton wrote:

> Following up on the issue reported by Bob Friesenhahn here:
>
> http://mail.gnu.org/archive/html/libtool/2003-11/msg00131.html
>
> The suspect eval line in config.status has lost some of the necessary
> backslashes:

Here is a version which produces the same output under both Solaris
and IRIX:

#! /bin/sh
cat >foo.out <<_ACEOF
eval "lt_\$var=\\\\\\"\\\`\\\$echo \\"X\\\$\$var\\" | \\\$Xsed -e
\\"\\\$sed_quote_subst\\"\\\`\\\\\\""
_ACEOF
cat foo.out

Note that the update adds an extra backslash in front of all the inner
double-quotes.

The result should be similar to:

% sh frag.sh
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e
\"\$sed_quote_subst\"\`\\\""

Bob
======================================
Bob Friesenhahn
[EMAIL PROTECTED]
http://www.simplesystems.org/users/bfriesen



_______________________________________________
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool

Reply via email to