Generate configure