1 --- xerces-c-3.1.1/m4/xerces_netaccessor_selection.m4.orig 2009-11-12 06:57:31.000000000 +0100
2 +++ xerces-c-3.1.1/m4/xerces_netaccessor_selection.m4 2010-10-10 10:08:42.231734339 +0200
4 if test x"$network" = xyes; then
6 # Checks for libraries.
7 - AC_CHECK_LIB([socket], [socket])
8 - AC_CHECK_LIB([nsl], [gethostbyname])
9 + AC_SEARCH_LIBS([socket], [socket])
10 + AC_SEARCH_LIBS([gethostbyname], [nsl])
12 ######################################################
13 # Test for availability of each netaccessor on this host.