diff options
author | Po Lu <luangruo@yahoo.com> | 2023-08-09 08:26:45 +0800 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2023-08-09 08:28:18 +0800 |
commit | 6f2e48bc52d85a3914d4b9e919dedf609289bdf5 (patch) | |
tree | 175e044542dcb90966f93135c78af2adf6842001 /autogen.sh | |
parent | fce3815921c845798d87bebb5423f19fd7141a11 (diff) | |
download | emacs-6f2e48bc52d85a3914d4b9e919dedf609289bdf5.tar.gz |
Don't depend on Automake to generate exec/aclocal.m4
* autogen.sh (do_git): Generate exec/aclocal.m4 by hand.
(bug#65160)
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 7 |
1 files changed, 7 insertions, 0 deletions
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 |