From c1e0f2a2e835ba016dc25276296bb0ee46329993 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 27 Oct 2019 20:37:46 +0100 Subject: [PATCH] Fetch imported m4 files during autogen.sh invocation. --- .gitignore | 1 + autogen.sh | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/.gitignore b/.gitignore index abd190d..15454f4 100644 --- a/.gitignore +++ b/.gitignore @@ -25,6 +25,7 @@ /build-aux/ltmain.sh /build-aux/test-driver.diff /build-aux/texinfo.tex +/m4/ax_cxx_compile_stdcxx.m4 /m4/host-cpu-c-abi.m4 /m4/lib-ld.m4 /m4/lib-link.m4 diff --git a/autogen.sh b/autogen.sh index 8846367..8617bcb 100755 --- a/autogen.sh +++ b/autogen.sh @@ -45,6 +45,13 @@ for f in build-aux/config.guess build-aux/config.sub \ } || rm -f $f.tmp done +# autoconf archive +for f in m4/ax_cxx_compile_stdcxx.m4; do + { wget -nv --timeout=5 -O $f.tmp "https://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=${f}" \ + && mv $f.tmp $f; \ + } || rm -f $f.tmp +done + # texinfo.tex # The most recent snapshot of it is available in the gnulib repository. # But this is a snapshot, with all possible dangers. -- 2.49.0