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:
commit c66a7cce17ac4b9cde6bf49232aaa59c1c73404e
Date: Sat Jun 17 19:12:45 2017 +0200