On Jan 27, 2005, Ralf Wildenhues <[EMAIL PROTECTED]> wrote:

> Which systems do actually need libtool's --fallback-echo?

Probably ones that didn't support shell functions either.  I don't
recall exactly which systems required --fallback-echo, but I do recall
it was added for a very good reason, given how disgusting it is :-)

Since we've now moved on to better systems, supporting shell functions
and all, we might as well give libtool a new try without this gunk and
see how it goes.  Failing that, a shell function might be good enough,
although the fact that not even bash gets it right in some cases
doesn't exactly give me a warm fuzzy feeling about this construct :-)

> func_fallback_echo ()
> {
>     # Without the eval, Bourne shells create the here doc at definition time.
>     eval 'cat <<_LT_EOF
> $*
> _LT_EOF
> '
>     : # work around bash bug
> }

-- 
Alexandre Oliva             http://www.ic.unicamp.br/~oliva/
Red Hat Compiler Engineer   [EMAIL PROTECTED], gcc.gnu.org}
Free Software Evangelist  [EMAIL PROTECTED], gnu.org}


_______________________________________________
http://lists.gnu.org/mailman/listinfo/libtool

Reply via email to