http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47145
--- Comment #6 from joseph at codesourcery dot com <joseph at codesourcery dot com> 2011-01-03 16:11:45 UTC --- On Mon, 3 Jan 2011, ktietz at gcc dot gnu.org wrote: > The issue here is AC_CHECK_FILE, which is documented to not work for > cross-compiling scenario. By replacing this to test -f, it should working for > native and cross-compile. There were also comments that the path is sometimes wrong. Using test -f should fix the immediate regression - but it would be better not to hardcode paths at all. Presumably the issue is that some particular stylesheets are needed *in the path searched by the tools being tested for*, which may depend on how those tools were configured and may not be in /usr at all. So it would be better to have a feature test - run the tools (if found) on a suitable document to see if they can find the required stylesheets. Perhaps the libstdc++ maintainers could comment on what the actual feature required is for which a path test is being used as a bad proxy?