The attached `git format-patch` is based on automake v1.16.5 and fixes the following warning Warning (bytecomp): byte-compile-dest-file is obsolete (as of 23.2); Set byte-compile-dest-file-function instead. The solution is to ensure bytecomp is loaded which defines byte-compile-dest-file-function so it can be used when available, and fallback to the original byte-compile-dest-file for earlier GNU Emacs and XEmacs. So far I've tested the result on * CentOS 7.9 (distro emacs 24.3) * OpenBSD 7.1 (custom emacs 28.2) * OpenSUSE Leap 15.4 (distro emacs 27.2, xemacs 21.5) and the warning is no longer generated.