Hello,
On Mon, Sep 05, 2005 at 08:41:18AM +0200, Tim Van Holder wrote:
> > -[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <stdlib.h>
> > +[AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <stdlib.h>
> > #include <stdarg.h>
> > #include <string.h>
> > #include <float.h>
> This is wrong for two reasons:
> - It's a test for _headers_, so linking is not what's required
Yes, I agree.
> - Any linking tests break cross-compilation,
Though I agree that the proposed change shouldn't be accepted, I think
this reason is not correct: linking should work in cross compiling
environment. It's _run_ which is (almost) impossible.
Have a nice day,
Stepan Kasal