Add an autoconfig file, copied from ichristo