Hello, Akim!

> Peter> Why can't I use AC_CHECK_FILE when cross-compiling?  If I need
> Peter> to look for a file that is used during the build then that has
> Peter> nothing to do with what the compiler does.

I agree, this limitation seems ridiculous. But it's documented: "Check
whether file FILE exists on the native system."

> Then just don't use it :)  I don't understand the existence of this
> macro, it seems an error to me.  If you're looking for some files,
> you'd better do that at runtime.

We could change the autoconf-time warning type from "cross" to "obsolete"
to prepare ground for removal AC_CHECK_FILE[S] after 2.50.

Regards,
Pavel Roskin


Reply via email to