Control: tags -1 - help

On Sun, Dec 08, 2024 at 02:18:26PM +0100, Andreas Tille wrote:
> I confirm the problem persists and I have no idea how to avoid the test
> triggering
> 
> checking if "localhost" resolves... no
> configure: error: can't figure out gethostbyname_r() since localhost doesn't 
> resolve
This checks if gethostbyname("localhost") works,
and then doesn't use any part of this information, at all, anywhere.

Thus, I've disabled the test altogether in git
(4aee109354ba26a33cba9349a870a3d2cf549b72):
  --- a/configure.ac
  +++ b/configure.ac
  @@ -63,7 +63,6 @@ AC_NETTOP_CHECK_IN6_ADDR
  
   LDFLAGS="$LDFLAGS $NSL_LIBS $SOCKET_LIBS"
  
  -AC_NETTOP_CHECK_WORKING_RESOLVER
   AC_NETTOP_CHECK_GETHOSTBYADDR_R
  
   AM_PATH_GLIB_2_0(2.0.1,, AC_MSG_ERROR("glib >= 2.0.1 library required"), 
gthread)

Attachment: signature.asc
Description: PGP signature

Reply via email to