From 1aade6a15f767c49db5c1b69b97a5b1bf8cdce57 Mon Sep 17 00:00:00 2001 From: Josh Triplett Date: Wed, 22 Nov 2006 21:49:52 -0800 Subject: [PATCH] Check for getaddrinfo rather than gethostbyname in configure.ac Since the addition of IPv6 support, we now use getaddrinfo rather than gethostbyname; update configure.ac accordingly. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index fa49f9a..c9fc555 100644 --- a/configure.ac +++ b/configure.ac @@ -55,7 +55,7 @@ AC_MSG_RESULT($XCBPROTO_XCBINCLUDEDIR) AC_SUBST(XCBPROTO_XCBINCLUDEDIR) AC_HEADER_STDC -AC_SEARCH_LIBS(gethostbyname, nsl) +AC_SEARCH_LIBS(getaddrinfo, socket) AC_SEARCH_LIBS(connect, socket) xcbincludedir='${includedir}/xcb' -- 2.34.1