On 01/26/2011 01:15 PM, tom fogal wrote:
Sergio Belkin<[email protected]>  writes:
Hi,

Is there a way to check is a library function is global?

   AC_TRY_COMPILE(...,
     [extern rettype funcname(args);],
     [funcname(...);]
   )

This would need to be AC_TRY_LINK, but it's possible to just use AC_CHECK_LIB, AC_SEARCH_LIBS etc.

Peter

_______________________________________________
Autoconf mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to