AC_LINK_IFELSE not needed anymore because AC_CHECK_LIB adds -lresolv on success.