autoconf
[Top][All Lists]
Advanced

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

Re: failed tests AC_CHECK_LIB


From: Keith Marshall
Subject: Re: failed tests AC_CHECK_LIB
Date: Sat, 20 Sep 2008 23:03:22 +0100
User-agent: KMail/1.9.9

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.




reply via email to

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