Hello Yevgen,

* Yevgen Muntyan wrote on Wed, Jan 10, 2007 at 06:17:09AM CET:
> 
> 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.

Post the errors, otherwise there's little we can do to help you.

Cheers,
Ralf


Reply via email to