diff --git a/.github/workflows/makefile.yml b/.github/workflows/makefile.yml index 017c5bc2..d2b430c5 100644 --- a/.github/workflows/makefile.yml +++ b/.github/workflows/makefile.yml @@ -61,7 +61,22 @@ jobs: - name: Install GCC Dependencies if: steps.cache-cross.outputs.cache-hit != 'true' - run: sudo apt -y install build-essential bison flex libgmp3-dev libmpc-dev libmpfr-dev texinfo libzstd-dev libisl-dev autoconf m4 automake gettext gperf dejagnu guile-3.0 guile-3.0-dev expect tcl autogen tex-common sphinx-common git ssh diffutils patch autoconf2.69 + run: sudo apt -y install build-essential bison flex libgmp3-dev libmpc-dev libmpfr-dev texinfo libzstd-dev libisl-dev m4 automake gettext gperf dejagnu guile-3.0 guile-3.0-dev expect tcl autogen tex-common sphinx-common git ssh diffutils patch autoconf2.69 libtool + + - name: Recheck autoconf + if: steps.cache-cross.outputs.cache-hit != 'true' + run: | + if [ "$(autoconf --version | head -n 1 | awk '{print $NF}')" != "2.69" ]; then + echo "Autoconf version is not 2.69, performing additional steps..." + sudo apt --purge remove *autoconf* + sudo apt -y isntall wget tar make + wget http://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.gz + tar xvfvz autoconf-2.69.tar.gz + cd autoconf-2.69 + ./configure + make + sudo make install + fi - name: Clone All if: steps.cache-cross.outputs.cache-hit != 'true'