Re: Question about AC_TRY_LINK_FUNC

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

 



On 12/21/2010 08:02 AM, Sergio Belkin wrote:
> Hi,
> 
> The question is simple, altough the answer it's no so, what does
> AC_TRY_LINK_FUNC macro do?

It's a deprecated wrapper around the modern AC_LINK_IFELSE macro.  It
basically tests whether a symbol (global variable or function) exists in
the set of libraries passed in $LIBS, even if that symbol is not
declared in any system header files.  Based on the compiler results, it
then runs shell code snippets that you can use to affect subsequent
AC_SUBST or AC_DEFINE patterns to propagate that information on to the
rest of your package.  Did you have any more specific details about what
you were trying to figure out about the macro?

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
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