create autogen.sh

This file is from ckolivas and found here:
https://github.com/ckolivas/cgminer/blob/master/autogen.sh