merge configure with config