On Saturday 20 September 2008 22:40:56 Matej Tyc wrote:
> > Then you need to use a macro that allows for specifying a header
> > to include.  You can write one yourself, or try AC_CHECK_FUNC_IN
> > from the autoconf macro archive.
>
> By the way, do you have an idea what's the cause of this failiure?

Yes.  It is because the function you are trying to check for uses the 
__stdcall convention, and you can't resolve links to such functions, 
without including the proper headers, so the compiler knows that.  
AC_CHECK_LIB or AC_SEARCH_LIBS are only useful for functions which 
use the __cdecl calling convention.

Regards,
Keith.


_______________________________________________
Autoconf mailing list
Autoconf@gnu.org
http://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to