--- configure.ac~ 2008-02-18 21:30:35.000000000 +0100 +++ configure.ac 2008-02-18 21:31:21.000000000 +0100 @@ -248,7 +248,7 @@ AC_MSG_CHECKING([for res_query in -lresolv (alternate version)]) save_libs="$LIBS" LIBS="-lresolv $LIBS" - AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include ]], [[res_query(0,0)]])], + AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include ]], [[res_query(0,0,0,0,0)]])], [AC_MSG_RESULT(yes) AC_DEFINE(HAVE_RES_QUERY) have_res_query=yes],