Sophie

Sophie

distrib > Fedora > 13 > i386 > media > updates-src > by-pkgid > c91f0991796e9b0692397f569aba867f > files > 12

xrootd-3.0.3-2.fc13.src.rpm

--- xrootd.orig/configure.ac	2010-12-09 16:24:21.000000000 +0100
+++ xrootd/configure.ac	2010-12-10 19:25:41.443408001 +0100
@@ -920,9 +920,11 @@
 
 #   note: needed for solaris (network services library. many systems still have these
 #         functions still in the libc)
+AC_CHECK_FUNC(gethostbyname,,[
 AC_CHECK_LIB([nsl],[gethostbyname],
              [AC_SUBST(LIBNSL,[-lnsl])]
             )
+])
 
 AC_CHECK_FUNC(sigwaitinfo,[AC_DEFINE(HAVE_SIGWTI)],
                 [AC_CHECK_LIB([rt],[sigwaitinfo],