1 --- vice-2.4/configure.in.orig 2012-11-25 10:36:26.562393010 +0100
2 +++ vice-2.4/configure.in 2012-11-25 10:41:56.032386143 +0100
5 if test x"$UNIX_NETWORK_HEADERS_PRESENT" = "xyes"; then
7 - dnl Check for possible extra needed network libraries
8 - AC_CHECK_LIB(intl, dgettext,[ NETPLAY_LIBS="-lintl $NETPLAY_LIBS";
9 - LIBS="-lintl $LIBS"],,)
10 - AC_CHECK_LIB(nsl, gethostbyname,[ NETPLAY_LIBS="-lnsl $NETPLAY_LIBS";
11 - LIBS="-lnsl $LIBS"],,)
12 - AC_CHECK_LIB(socket, gethostbyname,[ NETPLAY_LIBS="-lsocket $NETPLAY_LIBS";
13 - LIBS="-lsocket $LIBS"],,)
14 - AC_CHECK_LIB(bsd, gethostbyname,[ NETPLAY_LIBS="-lbsd $NETPLAY_LIBS";
15 - LIBS="-lbsd $LIBS"],,)
16 - AC_CHECK_LIB(net, gethostbyname,[ NETPLAY_LIBS="-lnet $NETPLAY_LIBS";
17 - LIBS="-lnet $LIBS"],,)
18 - AC_CHECK_LIB(inet, gethostbyname,[ NETPLAY_LIBS="-linet $NETPLAY_LIBS";
19 - LIBS="-linet $LIBS"],,)
20 - AC_CHECK_LIB(watt, gethostbyname,[ NETPLAY_LIBS="-lwatt $NETPLAY_LIBS";
21 - LIBS="-lwatt $LIBS"],,)
23 dnl Check for needed functions
24 UNIX_NETWORK_FUNCS_PRESENT=yes
26 @@ -2426,14 +2410,6 @@
27 AC_CHECK_LIB(intl, dgettext,[ X_LIBS="-lintl $X_LIBS";
28 LINK_X_LIBS="-lintl $LINK_X_LIBS"],,$X_LIBS)
30 - dnl instead of assuming that libsocket needs libnsl, we
31 - dnl will check the existance of libnsl first.
32 - AC_CHECK_LIB(nsl, gethostbyname,[ X_LIBS="-lnsl $X_LIBS";
33 - LINK_X_LIBS="-lnsl $LINK_X_LIBS"],,$X_LIBS)
34 - AC_CHECK_LIB(socket, gethostbyname,[ X_LIBS="-lsocket $X_LIBS";
35 - LINK_X_LIBS="-lsocket $LINK_X_LIBS"],,$X_LIBS)
36 - AC_CHECK_LIB(bsd, gethostbyname,[ X_LIBS="-lbsd $X_LIBS";
37 - LINK_X_LIBS="-lbsd $LINK_X_LIBS"],,$X_LIBS)
38 if test x"$ac_cv_lib_ICE_IceConnectionNumber" != "xyes"; then
39 unset ac_cv_lib_ICE_IceConnectionNumber