Re: cvs build prob

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

 



On Tue, Jul 27, 2004 at 01:25:43PM -0700, Paul Eggert wrote:
> "Gary V. Vaughan" <gary@xxxxxxx> writes:
> The workaround in this case is easy.  Just omit the outer quotes and
> remove the inner backslashes:
> 
> output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
> 
> The outer quotes aren't needed.  This issue is discussed in the
> Autoconf manual's Shellology section.

I'm now quite confused :-) I can verify that Gary's libtool patch, which
does the above, fixes things, but I find I need the opposite as an
autoconf patch (attached).

Cheers,

Patrick
Index: lib/m4sugar/m4sh.m4
===================================================================
RCS file: /cvsroot/autoconf/autoconf/lib/m4sugar/m4sh.m4,v
retrieving revision 1.118
diff -u -r1.118 m4sh.m4
--- lib/m4sugar/m4sh.m4	27 Jul 2004 20:15:15 -0000	1.118
+++ lib/m4sugar/m4sh.m4	28 Jul 2004 16:57:21 -0000
@@ -162,8 +162,10 @@
   # is contrary to our usage.  Disable this feature.
   alias -g '${1+"$[@]"}'='"$[@]"'
   setopt NO_GLOB_SUBST
-elif test -n "${BASH_VERSION+set}${KSH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
+elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
   set -o posix
+elif test -n "${KSH_VERSION+set}" && (set +o posix) >/dev/null 2>&1; then
+  set +o posix
 fi
 DUALCASE=1; export DUALCASE # for MKS sh
 ])
_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux