extract to configure
Merge pull request #1 from minixalpha/master

extract to configure