scripts: check features to generate configuration header