]>
Commit | Line | Data |
---|---|---|
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 --------------------------------------------- |