Hey, AC_TRY_LINK puts LDFLAGS before conftest.c on compilation command line, and it fails with mingw. Here, it made the following:
/usr/bin/i586-mingw32msvc-gcc -o conftest.exe -O2 -I/usr/local/win/gtk/include -mms-bitfields -march=i686 -I/usr/local/win/gtk/include -I/usr/local/win/Python24/include -L/usr/local/win/gtk/lib -L/usr/local/win/Python24/libs -lpython24 conftest.c
It produces linker errors, undefined reference to whatever is in libpython24.
AC_COMPILE_IFELSE does work fine. Please CC me, I am not subscribed to the list (hope the letter gets to the list). Thank you, Yevgen
