]> git.pld-linux.org Git - packages/gxine.git/blame - gxine-link.patch
- updated from 4-year old 0.5.11 to 0.5.905
[packages/gxine.git] / gxine-link.patch
CommitLineData
a11c882a
JB
1--- gxine-0.5.905/configure.ac.orig 2011-02-19 21:36:51.226973392 +0100
2+++ gxine-0.5.905/configure.ac 2011-02-20 07:38:03.234976745 +0100
3@@ -84,8 +84,8 @@
4
5 dnl Test for socket and network support library
6 NET_LIBS=""
7-AC_CHECK_LIB(socket, socket, NET_LIBS="-lsocket $NET_LIBS",)
8-AC_CHECK_LIB(nsl, gethostbyname, NET_LIBS="-lnsl $NET_LIBS",)
9+AC_CHECK_FUNC(socket, [], [AC_CHECK_LIB(socket, socket, NET_LIBS="-lsocket $NET_LIBS",)])
10+AC_CHECK_FUNC(gethostbyname, [], [AC_CHECK_LIB(nsl, gethostbyname, NET_LIBS="-lnsl $NET_LIBS",)])
11 AC_SUBST(NET_LIBS)
12
13 dnl ---------------------------------------------
This page took 0.100409 seconds and 4 git commands to generate.