Don't depend on Automake to generate exec/aclocal.m4

* autogen.sh (do_git): Generate exec/aclocal.m4 by hand.
(bug#65160)
This commit is contained in:
Po Lu 2023-08-09 08:26:45 +08:00
parent fce3815921
commit 6f2e48bc52

View file

@ -257,6 +257,13 @@ Please report any problems with this script to bug-gnu-emacs@gnu.org .'
## Use autoreconf's -f option in case autoreconf itself has changed.
autoreconf -fi -I m4 || exit
echo "Building 'aclocal.m4' in exec ..."
# Create a placeholder aclocal.m4 in exec, preventing autoreconf
# from running aclocal.
echo "" > exec/aclocal.m4
echo "Running 'autoreconf -fi' in exec ..."
# Now, run autoreconf inside the exec directory to generate its