From 6f2e48bc52d85a3914d4b9e919dedf609289bdf5 Mon Sep 17 00:00:00 2001 From: Po Lu Date: Wed, 9 Aug 2023 08:26:45 +0800 Subject: [PATCH] Don't depend on Automake to generate exec/aclocal.m4 * autogen.sh (do_git): Generate exec/aclocal.m4 by hand. (bug#65160) --- autogen.sh | 7 +++++++ 1 file changed, 7 insertions(+) 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 -- 2.39.5