autoconf
[Top][All Lists]
Advanced

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

Re: Question about ac_lib and ac_res


From: Sergio Belkin
Subject: Re: Question about ac_lib and ac_res
Date: Thu, 18 Oct 2012 15:10:18 -0300

2012/10/18 Eric Blake <address@hidden>:
> On 10/18/2012 10:11 AM, Sergio Belkin wrote:
>>
>> Thanks for you explanation, I didn''t understand well what does "none
>> required".
>>
>> I've found "The result of this test is cached in the
>> ac_cv_search_function variable as ‘none required’ if function is
>> already available" at
>> http://www.manpagez.com/info/autoconf/autoconf-2.69/autoconf_46.php
>>
>> So I understand that function was found in the library searched on in
>> another in the system, wasn't it?
>
> For an example, on cygwin, sin() is in libc, but on other platforms, you
> have to use libm to get sin().  So:
>
> AC_SEARCH_LIBS([sin], [m])
>
> will set ac_cv_search_sin to 'none required' on cygwin, and '-lm' on
> other platforms.
>
> --
> Eric Blake   address@hidden    +1-919-301-3266
> Libvirt virtualization library http://libvirt.org
>

As always thanks for your clear explanation Eric

-- 
--
Sergio Belkin  http://www.sergiobelkin.com
Watch More TV http://sebelk.blogspot.com
LPIC-2 Certified - http://www.lpi.org



reply via email to

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