]> git.lyx.org Git - lyx.git/commitdiff
configure: also search for sockets in libnetwork
authorJessica Hamilton <jessica.l.hamilton@gmail.com>
Fri, 5 Jun 2015 02:49:00 +0000 (14:49 +1200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 8 Jun 2015 15:00:38 +0000 (17:00 +0200)
This is required for Haiku support.

See bug #7568 for details.

configure.ac

index f97622aafb1beed2d0c2dfa683a2a4684c4e4639..eace28557a8c5ae818b9dcdb98a266f71b928868 100644 (file)
@@ -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])