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.
This commit is contained in:
parent
183c2ba4cc
commit
1aade6a15f
|
@ -55,7 +55,7 @@ AC_MSG_RESULT($XCBPROTO_XCBINCLUDEDIR)
|
||||||
AC_SUBST(XCBPROTO_XCBINCLUDEDIR)
|
AC_SUBST(XCBPROTO_XCBINCLUDEDIR)
|
||||||
|
|
||||||
AC_HEADER_STDC
|
AC_HEADER_STDC
|
||||||
AC_SEARCH_LIBS(gethostbyname, nsl)
|
AC_SEARCH_LIBS(getaddrinfo, socket)
|
||||||
AC_SEARCH_LIBS(connect, socket)
|
AC_SEARCH_LIBS(connect, socket)
|
||||||
|
|
||||||
xcbincludedir='${includedir}/xcb'
|
xcbincludedir='${includedir}/xcb'
|
||||||
|
|
Loading…
Reference in New Issue