HEAD has been broken for me for a few days, failing to configure with:
config.status: error: cannot find input file: `src/emacs-module.h.in’
I’m not sure when this started; I noticed recently that the configure machinery had changed, had some free time, and decided to do a distclean and bootstrap. ./autogen.sh asked me to rerun ./autogen.sh git, which was fine, but configure failed near the end, unable to find the above file. I then tried again with —without-modules, to no avail.
A little digging suggests that this commit is related:
Date: Sat Jun 17 19:12:45 2017 +0200