Commit 4cdccd0a authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Solaris breakage again

parent a4c78e0f
...@@ -486,7 +486,7 @@ dnl -lnsl and -lsocket are needed on Solaris; ...@@ -486,7 +486,7 @@ dnl -lnsl and -lsocket are needed on Solaris;
dnl we purposedly make the test fail on Windows dnl we purposedly make the test fail on Windows
LIBS_save="${LIBS}" LIBS_save="${LIBS}"
AH_TEMPLATE(HAVE_GETADDRINFO, [Define to 1 if you have the `getaddrinfo' function.]) AH_TEMPLATE(HAVE_GETADDRINFO, [Define to 1 if you have the `getaddrinfo' function.])
AC_SEARCH_LIBS([getaddrinfo], [-lnsl], [AC_DEFINE(HAVE_GETADDRINFO)],, [${LIBS_socket}]) AC_SEARCH_LIBS([getaddrinfo], [nsl], [AC_DEFINE(HAVE_GETADDRINFO)],, [${LIBS_socket}])
dnl NOTE: we assume getaddrinfo will be present if getnameinfo or gai_strerro dnl NOTE: we assume getaddrinfo will be present if getnameinfo or gai_strerro
dnl are dnl are
...@@ -2192,9 +2192,7 @@ dnl ipv6 plugin - not for QNX yet ...@@ -2192,9 +2192,7 @@ dnl ipv6 plugin - not for QNX yet
dnl dnl
have_ipv6=no have_ipv6=no
AC_CHECK_FUNCS(inet_pton,[have_ipv6=yes],[ AC_CHECK_FUNCS(inet_pton,[have_ipv6=yes],[
AC_CHECK_LIB(resolv,inet_pton, AC_CHECK_LIB(nsl,inet_pton, [have_ipv6=yes])
[have_ipv6=yes
VLC_ADD_LDFLAGS([ipv6 vlc],[-lresolv])])
]) ])
AS_IF([test "${have_ipv6}" = "yes"], [ AS_IF([test "${have_ipv6}" = "yes"], [
......
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