Jim Meyering wrote: > Remember: this arises only in a non-srcdir build. That means build > artifacts end up being written into the mostly-empty current directory > hierarchy, which does not have copies of the sources. Installation > processes will continue to copy both .el and .elc files into place.
Oh, so you only split .el and .elc up while building, but they get installed into the same place? That's not so bad, though it is, eg, not something that Emacs supports in its own build process (in non-srcdir builds, .elc still get written into srcdir). BTW: ELCFLAGS=-lbytecomp is presumably another way to solve your issue, for any version of Emacs and automake (once bytecomp is loaded you can redefine functions as you wish).