projects
/
free-sw
/
xcb
/
libxcb
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
183c2ba
)
Check for getaddrinfo rather than gethostbyname in configure.ac
author
Josh Triplett
<josh@freedesktop.org>
Thu, 23 Nov 2006 05:49:52 +0000
(21:49 -0800)
committer
Josh Triplett
<josh@freedesktop.org>
Thu, 23 Nov 2006 05:49:52 +0000
(21:49 -0800)
Since the addition of IPv6 support, we now use getaddrinfo rather than
gethostbyname; update configure.ac accordingly.
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
fa49f9a
..
c9fc555
100644
(file)
--- 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(get
hostbyname, nsl
)
+AC_SEARCH_LIBS(get
addrinfo, socket
)
AC_SEARCH_LIBS(connect, socket)
xcbincludedir='${includedir}/xcb'