Commit 67531a98 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

configure: fix check for libnsl

Pointed-out-by: default avatarJon Tibble <meths@btinternet.com>
parent b961d236
...@@ -592,7 +592,7 @@ AC_SEARCH_LIBS(connect, [socket], [ ...@@ -592,7 +592,7 @@ AC_SEARCH_LIBS(connect, [socket], [
]) ])
]) ])
AC_SEARCH_LIBS([getaddrinfo], [nsl], [ AC_SEARCH_LIBS([inet_pton], [nsl], [
AS_IF([test "$ac_cv_search_getaddrinfo" != "none required"], [ AS_IF([test "$ac_cv_search_getaddrinfo" != "none required"], [
SOCKET_LIBS="$ac_cv_search_getaddrinfo $SOCKET_LIBS" SOCKET_LIBS="$ac_cv_search_getaddrinfo $SOCKET_LIBS"
]) ])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment