On Thu, May 11, 2006 at 10:38:30AM +0200, Jean-Marc Lasgouttes wrote: > >>>>> "Enrico" == Enrico Forestieri <[EMAIL PROTECTED]> writes: > > >> It seems AC_CHECK_LIB(gdi32,main) should work. > > Enrico> Hmmm... > > Enrico> $ nm /usr/lib/w32api/libgdi32.a | grep main (nothing here) > > Enrico> But then I am an ignorant and perhaps main is special. > > Actually, main() is defined in the test file used to compile. Thus > this code tests for the existence of the library, but it does not > check what the library defines.
Yes, I should have thought about it. Given that I like to be pickier than you ;-), shouldn't a warning be given if one of those libraries is not found on Windows? I tried the ccache thing on cygwin, but it was a quite disappointing experience: $ make (initial compile, took about 1h30m) $ make clean $ make (ccache should kick in, took about 1h10m) :( I found a lot of stuff in ~/.ccache but an improvement of about 20% in compile time is not exactly exciting... -- Enrico