configure: Split some logical blocks off from CONFIG_LIST