Add an autoconf check for res_init().