On 04/14/2011 01:04 PM, Too, Justin A. wrote:
>> test_executable="$$(top_builddir)/scripts/test/bin/my_test"
>>
>> and, at shell time, $$ is the process id, explaining your results.
> 
> I think in my rush, I was confusing Automake/m4 issues, hence the '$$',
> since I was trying to keep the '$'.

Yep - inside makefiles, for shell code where you want a $ to be visible
to the shell instead of make, you have to escape $ as $$.  It's a bit of
a shame that all three tools (m4, shell, make) have subtly different
behaviors on when $ is special.

> 
> Thank you for your help, everything is good to go now.

Glad to hear it.

-- 
Eric Blake   [email protected]    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

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

Reply via email to