[vlc-devel] [PATCH 2/3] configure: look for socket functions in libxnet before libsocket

Rémi Denis-Courmont remi at remlab.net
Wed Apr 20 09:53:17 CEST 2016


Le 2016-04-19 01:10, Sean McGovern a écrit :
> ---
>  configure.ac |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/configure.ac b/configure.ac
> index e958669..18d9b28 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -633,7 +633,7 @@ AC_CHECK_TYPES([struct timespec],,,
>  dnl Checks for socket stuff
>  VLC_SAVE_FLAGS
>  SOCKET_LIBS=""
> -AC_SEARCH_LIBS(connect, [socket], [
> +AC_SEARCH_LIBS(connect, [xnet socket], [
>    AS_IF([test "$ac_cv_search_connect" != "none required"], [
>      SOCKET_LIBS="$ac_cv_search_connect"
>    ])

I'm not sure you can mix xnet and socket. But even if you can, you 
probably need to replace nsl also.

-- 
Rémi Denis-Courmont
http://www.remlab.net/


More information about the vlc-devel mailing list