On Thu, Jan 01, 2004 at 05:54:04PM -0600, Bob Friesenhahn wrote: > 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.
OK, I made those changes to libtool.m4 as below, and can confirm that the configure script produced works correctly on IRIX 6.2 (and a GNU/Linux system). Thanks a lot! Index: m4/libtool.m4 =================================================================== RCS file: /cvsroot/libtool/libtool/m4/libtool.m4,v retrieving revision 1.23 diff -u -r1.23 libtool.m4 --- m4/libtool.m4 28 Nov 2003 13:41:22 -0000 1.23 +++ m4/libtool.m4 2 Jan 2004 00:18:20 -0000 @@ -1,5 +1,5 @@ # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- -## Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003 +## Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004 ## Free Software Foundation, Inc. ## Originally by Gordon Matzigkeit <[EMAIL PROTECTED]>, 1996 ## @@ -4425,10 +4425,10 @@ old_postinstall_cmds | old_postuninstall_cmds | \ sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) # Double-quote double-evaled strings. - eval "lt_\$var=\\\\\"\\\`\\\$echo \"X\\\$\$var\" | \\\$Xsed -e \"\\\$double_quote_subst\" -e \"\\\$sed_quote_subst\" -e \"\\\$delay_variable_subst\"\\\`\\\\\"" + eval "lt_\$var=\\\\\\"\\\`\\\$echo \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ;; *) - eval "lt_\$var=\\\\\"\\\`\\\$echo \"X\\\$\$var\" | \\\$Xsed -e \"\\\$sed_quote_subst\"\\\`\\\\\"" + eval "lt_\$var=\\\\\\"\\\`\\\$echo \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ;; esac done _______________________________________________ Libtool mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/libtool