[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: libtool/config.status issue on IRIX
From: |
Bob Friesenhahn |
Subject: |
Re: libtool/config.status issue on IRIX |
Date: |
Thu, 1 Jan 2004 17:54:04 -0600 (CST) |
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
address@hidden
http://www.simplesystems.org/users/bfriesen