]> git.pld-linux.org Git - packages/xine-lib.git/blob - xine-lib-nolibs.patch
- release 8
[packages/xine-lib.git] / xine-lib-nolibs.patch
1 --- xine-lib-1-rc3c/configure.ac.orig   2004-04-12 22:17:29.000000000 +0200
2 +++ xine-lib-1-rc3c/configure.ac        2004-04-12 22:19:00.638295880 +0200
3 @@ -343,8 +343,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  
This page took 0.122926 seconds and 3 git commands to generate.