autoconf
[Top][All Lists]
Advanced

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

Re: Proper m4 quoting


From: Too, Justin A.
Subject: Re: Proper m4 quoting
Date: Thu, 14 Apr 2011 11:39:29 -0700
User-agent: Microsoft-MacOutlook/14.2.0.101115

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" <address@hidden> 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   address@hidden    +1-801-349-2682
>Libvirt virtualization library http://libvirt.org
>




reply via email to

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