[Bug libstdc++/66018] opendir configure test not working when GCC_NO_EXECUTABLES

thopre01 at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu May 14 10:45:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66018

--- Comment #10 from Thomas Preud'homme <thopre01 at gcc dot gnu.org> ---
(In reply to Jonathan Wakely from comment #9)
> I think the right solution is just to stop using AC_STRUCT_DIRENT_D_TYPE
> which expands to the opendir link test.
> 
> The autoconf manual doesn't say anything about it doing a link test, I was
> only trying to find whether DIR.d_type exists :-(

It links to check which library contains opendir. I'm not sure why it searches
this though. Maybe a bug in autoconf?

Best regards,

Thomas



More information about the Gcc-bugs mailing list