Don't try to call res_init() if ./configure told us it doesn't exist.