https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91694
Rishi Khan <ri...@extreme-scale.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ri...@extreme-scale.com --- Comment #1 from Rishi Khan <ri...@extreme-scale.com> --- To clarify further, configure.ac instructs to see if the program can compile and produce a *.o file. This works, with a warning but not error returned. However, a system that does not have gethostname will not link properly. That is why I think it should be AC_LINK_IFELSE instead of AC_COMPILE_IFELSE. There are a few other AC_COMPILE_IFELSE that should also be looked at. I think they may suffer the same problem.