From: Josh Triplett Date: Thu, 23 Nov 2006 05:49:52 +0000 (-0800) Subject: Check for getaddrinfo rather than gethostbyname in configure.ac X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1aade6a15f767c49db5c1b69b97a5b1bf8cdce57;hp=183c2ba4cca71f4b12f106f801f0bd30c4c527f1;p=free-sw%2Fxcb%2Flibxcb 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. --- 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'