Re: Proper m4 quoting

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

 



Hi Eric,

Sorry, here you are:

I've tried many permutations of quoting, but obviously I'm missing a
fundamental understanding for this use case:

------------------------------------------------------------------------

AC_DEFUN([SUPPORT_TEST],
[
AC_MSG_CHECKING([for test])

test_executable="$$][(top_builddir)/scripts/test/bin/my_test"
AC_SUBST(QMTEST, [$test_executable])

AC_MSG_RESULT([done])
])


Evaluates to: 

22839(top_builddir)/scripts/test_harness/test/bin/my_test

I need

$(top_builddir)/scripts/test_harness/test/bin/my_test


------------------------------------------------------------------------

Thanks,
Justin


On 4/14/11 11:35 AM, "Eric Blake" <eblake@xxxxxxxxxx> wrote:

>On 04/14/2011 12:27 PM, Too, Justin A. wrote:
>> Hi all,
>> 
>> I need some help with m4 quoting, http://pastebin.com/xzQNKCFv yet
>>again =)
>
>That didn't resolve.  Furthermore, pastebin expires posts after a
>certain amount of time; but I'd rather have your question archived in
>the mailing list so that others facing the same issue may learn from it.
> Would you mind reposting your issue directly to the list instead of
>using pastebin?
>
>-- 
>Eric Blake   eblake@xxxxxxxxxx    +1-801-349-2682
>Libvirt virtualization library http://libvirt.org
>


_______________________________________________
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