From e02f0a0babeb43d21ebbd2496631cac59a1bcba0 Mon Sep 17 00:00:00 2001 From: Jessica Hamilton Date: Fri, 5 Jun 2015 14:49:00 +1200 Subject: [PATCH] configure: also search for sockets in libnetwork This is required for Haiku support. See bug #7568 for details. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index f97622aafb..eace28557a 100644 --- a/configure.ac +++ b/configure.ac @@ -213,7 +213,7 @@ save_LIBS="$LIBS" LIBS= AC_CHECK_FUNCS(fcntl, [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"], [], [-lnsl])])], [lyx_client_subdir=false])