[Xcb-commit] configure.ac

Josh Triplett josh at kemper.freedesktop.org
Wed Nov 22 22:28:19 PST 2006


 configure.ac |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

New commits:
diff-tree 1aade6a15f767c49db5c1b69b97a5b1bf8cdce57 (from 183c2ba4cca71f4b12f106f801f0bd30c4c527f1)
Author: Josh Triplett <josh at freedesktop.org>
Date:   Wed Nov 22 21:49:52 2006 -0800

    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'


More information about the xcb-commit mailing list