Test if all needed variables are defined in config.cache.