Do this check during configure().