Op dinsdag 26-05-2009 om 13:14 uur [tijdzone +0200], schreef Fridrich Strba:
Easy!
The AC_FUNC_MALLOC and AC_FUNC_REALLOC try to execute a program to see whether malloc(0) will return a NULL pointer. If that is not the case, it will use the rpl_malloc. Since cross-compiling, binaries cannot be executed and the test fails even though the malloc and realloc are in MS C runtime. Those malloc and realloc functions are compliant in the sense of AC_FUNC_MALLOC and AC_FUNC_REALLOC test, so patching them out is safe when cross-compiling for win32.
Cheers
Fridrich
Thanks for the clarification!
In the future, could you please leave comments on bugzilla tickets in bugzilla itself instead of the mailing list? That way it'll be easier to keep all information together and prevent it from getting scattered.
Regards,
Erik van Pienbroek