Re: autoconf test for dllimport-ed function?

2005-04-19 Thread Ralf Wildenhues
* Angus Leeming wrote on Mon, Apr 18, 2005 at 08:12:18PM CEST: I've been trying to get autoconf to generate a test for GetLongPathNameA under MSYS. The obvious however does not work: *snip* What I want is an autoconf test equivalent to: #include windows.h int main() {

Re: autoconf test for dllimport-ed function?

2005-04-19 Thread Angus Leeming
On Tuesday 19 April 2005 09:17, Ralf Wildenhues wrote: You should be able to use AC_TRY_COMPILE or AC_COMPILE_IFELSE to create a macro, say AC_CHECK_WINDOWS_FUNCS, which does something like AC_CHECK_FUNCS for MSYS. Obviously, such a thing will not be very portable. But if it turns out to be