Reproducer: git clone git://git.samba.org/rsync.git rsync.git cd rsync.git rm configure.sh config.h.in aclocal.m4 make -f prepare-source.mak cd .. mkdir rsync-build cd rsync-build ../rsync.git/configure.sh --with-included-zlib=yes --enable-maintainer-mode --prefix=/home/andrey/progs make Error message: make: *** No rule to make target `m4/*.m4', needed by `aclocal.m4'. Stop.
Correction for reproducing: you should use commit bb853b32055a16e983267c6f5b8244aac311fdf9.
Created attachment 11676 [details] Proposed fix
Thanks for the report and the patch!
You're welcome! Were there any problems with patch format, so that you couldn't apply it directly?