mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
configure: also search for sockets in libnetwork
This is required for Haiku support. See bug #7568 for details.
This commit is contained in:
parent
469a1f48a6
commit
e02f0a0bab
@ -213,7 +213,7 @@ save_LIBS="$LIBS"
|
|||||||
LIBS=
|
LIBS=
|
||||||
AC_CHECK_FUNCS(fcntl,
|
AC_CHECK_FUNCS(fcntl,
|
||||||
[AC_SEARCH_LIBS([gethostbyname], [nsl])
|
[AC_SEARCH_LIBS([gethostbyname], [nsl])
|
||||||
AC_SEARCH_LIBS([socket], [socket], [],
|
AC_SEARCH_LIBS([socket], [socket network], [],
|
||||||
[AC_CHECK_LIB([socket], [socket], [LIBS="-lsocket -lnsl $LIBS"],
|
[AC_CHECK_LIB([socket], [socket], [LIBS="-lsocket -lnsl $LIBS"],
|
||||||
[], [-lnsl])])],
|
[], [-lnsl])])],
|
||||||
[lyx_client_subdir=false])
|
[lyx_client_subdir=false])
|
||||||
|
Loading…
Reference in New Issue
Block a user