autoconf
[Top][All Lists]
Advanced

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

using $(FOO) in configure.ac


From: Fabien Chêne
Subject: using $(FOO) in configure.ac
Date: Tue, 17 Jul 2007 22:37:42 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.990 (gnu/linux)

Hello all,

With Autoconf, I try to generate a .jam file (for Boost.Build). I need
to write the following text in the .jam :

echo $(FOO) ;

my configure.ac looks like that :

8<------------------------------
AC_PREREQ(2.61)
AC_INIT(prog,1.0,address@hidden)

cat > foo.jam << EOF
echo $(FOO) ; dnl here is the problem
EOF

AC_OUTPUT
8<-----------------------------

I try everything I could to prevent replacement/expension/? of 'FOO',
quoting, quadrigraphs, etc ; but I'm stuck and I don't find a solution
to « escape » '$('. Any advices for doing that ?

Thanks,

-- 
Fab




reply via email to

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