|
From: | Peter Johansson |
Subject: | Re: Writing Autoconf tests |
Date: | Thu, 9 Mar 2017 09:41:35 +1000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 |
Hi Yumiko, On 03/09/2017 09:32 AM, Bob Friesenhahn
wrote:
How should I write my macro so that the test program is I have a few macros that I think might be useful for you. http://dev.thep.lu.se/yat/svn/tags/0.14.2/m4/yat_lt_link_ifelse.m4 Have a look at YAT_LT_LINK_IFELSE(PROG, [ACTION-IF-TRUE], [ACTION-IF-FALSE])basically works like 'AC_LINK_IFELSE' but redefines $ac_link such that the linker is called via libtool. Cheers, Peter |
[Prev in Thread] | Current Thread | [Next in Thread] |