I also fixed autogen.sh to do some magic on warnings/errors based on whether code comes from github or not.