autoconf
[Top][All Lists]
Advanced

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

Re: using $(FOO) in configure.ac


From: Ralf Wildenhues
Subject: Re: using $(FOO) in configure.ac
Date: Wed, 18 Jul 2007 00:45:58 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]