Ralf Wildenhues <[EMAIL PROTECTED]> writes:

Hello Ralf,

> * Fabien Chêne wrote on Tue, Jul 17, 2007 at 10:37:42PM CEST:
>> 
>> cat > foo.jam << EOF
>> echo $(FOO) ; dnl here is the problem
>> EOF
>
> Try
>   echo 'echo $(FOO)' > foo.jam
>
> or:
>
>   cat >foo.jam <<'EOF'
>   echo $(FOO)
>   EOF
>
> (minus the indentation).  If the word after '<<' is quoted with single-,
> double-quote, or a backslash, the here document is not expanded by
> parameter expansion and command substitution.  This is a purely shell
> issue (which is rare with Autoconf, due to the common issues with M4
> quoting).
>
> Hope that helps.

That helps a lot !
*HUGE* thanks for the solution and the explanation.

-- 
Fab


_______________________________________________
Autoconf mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to