From 3e954ad5f75eefd720a0d2dc88f3db9f5c8c1695 Mon Sep 17 00:00:00 2001 From: Juergen Keil Date: Mon, 19 May 2003 16:33:04 +0000 Subject: the xine-lib shared library depends on -lsocket and -lnsl on solaris. Make sure that "xine-config --libs" outputs a dependency for both on solaris. CVS patchset: 4875 CVS date: 2003/05/19 16:33:04 --- configure.ac | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 996edafc4..1a4a6d4c0 100644 --- a/configure.ac +++ b/configure.ac @@ -290,6 +290,17 @@ fi AM_CONDITIONAL(HAVE_NVTV, [test x"$enable_nvtv" = "xyes" -a x"$no_x" != "xyes"]) + +dnl --------------------------------------------- +dnl socket library +dnl --------------------------------------------- +dnl Test for socket and network support library +NET_LIBS="" +AC_CHECK_LIB(socket, socket, NET_LIBS="-lsocket $NET_LIBS",) +AC_CHECK_LIB(nsl, gethostbyname, NET_LIBS="-lnsl $NET_LIBS",) +AC_SUBST(NET_LIBS) + + dnl --------------------------------------------- dnl zlib dnl --------------------------------------------- -- cgit v1.2.3