Re: using $(FOO) in configure.ac

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

 



Hello Fabien,

* 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.

Cheers,
Ralf


_______________________________________________
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