2012/10/18 Eric Blake <ebl...@redhat.com>: > 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 ebl...@redhat.com +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 _______________________________________________ Autoconf mailing list Autoconf@gnu.org https://lists.gnu.org/mailman/listinfo/autoconf