--- partysip-2.2.3/configure.in.orig 2005-10-02 19:37:55.000000000 +0000 +++ partysip-2.2.3/configure.in 2005-10-02 19:38:50.000000000 +0000 @@ -209,8 +209,10 @@ ;; *) CHECK_INADDR_NONE - AC_CHECK_LIB(resolv,res_query,[PARTYSIP_LIB="$PARTYSIP_LIB -lresolv"]) - AC_CHECK_LIB(resolv,res_query,[PPL_LIB="$PPL_LIB -lresolv"]) + # check for the internal names here, because they are the only ones showing up + # on amd64 + AC_CHECK_LIB(resolv,__res_query,[PARTYSIP_LIB="$PARTYSIP_LIB -lresolv"]) + AC_CHECK_LIB(resolv,__res_query,[PPL_LIB="$PPL_LIB -lresolv"]) ;; esac