Add skeletton infrastructure for ./configure

This contains all the basic files and scripts to have configure running and
accepting some flag values.