Moin, right now the configure.ac file contains a bug: when checking for the hstrerror function in libresolv, it attempts to avoid unresolved symbols while linking with libresolv by linking two other libraries in; the relevant autoconf method is described here:
http://www.gnu.org/manual/autoconf/html_node/autoconf_43.html#SEC43 Unfortunately, there is a comma missing, so right now the resulting configure script will try to execute "-lnsl -lsocket" instead of passing it to the linker. The attached patch fixes that. - Frerich
Index: configure.ac =================================================================== RCS file: /cvsroot/distcc/configure.ac,v retrieving revision 1.82 diff -u -3 -p -r1.82 configure.ac --- configure.ac 18 Jan 2003 12:57:18 -0000 1.82 +++ configure.ac 19 Jan 2003 18:43:36 -0000 @@ -117,7 +117,7 @@ AC_CHECK_TYPES([sa_family_t, socklen_t], # Checks for libraries. AC_CHECK_LIB(nsl, gethostbyname) AC_CHECK_LIB(socket, connect) -AC_CHECK_LIB(resolv, hstrerror, , [-lnsl -lsocket]) +AC_CHECK_LIB(resolv, hstrerror, , , [-lnsl -lsocket]) if test x"$with_included_popt" != x"yes" && test x"$with_included_popt" != xno then
