Simon Josefsson wrote: > For mingw, @GNULIB_GETHOSTNAME@ will be 0 since it has a gethostname (if > sys/socket.h is pulled in).
Huh? GNULIB_GETHOSTNAME is set to 1 by the gl_MODULE_INDICATOR([gethostname]) line, independently of platforms. It is 0 if the gethostname module is not used. Bruno