From: Po Lu Date: Wed, 9 Aug 2023 00:26:45 +0000 (+0800) Subject: Don't depend on Automake to generate exec/aclocal.m4 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6f2e48bc52d85a3914d4b9e919dedf609289bdf5;p=emacs.git Don't depend on Automake to generate exec/aclocal.m4 * autogen.sh (do_git): Generate exec/aclocal.m4 by hand. (bug#65160) --- diff --git a/autogen.sh b/autogen.sh index 3cb77afedb3..0d89b7cfc9a 100755 --- a/autogen.sh +++ b/autogen.sh @@ -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