From cc8e83a1f25f38054c721a1a7e6f9195104f94a4 Mon Sep 17 00:00:00 2001 From: Ivan Maidanski Date: Tue, 28 Mar 2023 00:31:29 +0300 Subject: Travis CI: Update autotools for distcheck New tools version to prepare the distributive tarball: - autoconf 2.71 (was 2.69) - automake 1.16.5 - m4 1.4.19 (was 1.4.18) - libtool 2.4.7 (was 2.4.6, needed to build automake) --- .travis.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 032252f..5ec0276 100644 --- a/.travis.yml +++ b/.travis.yml @@ -625,8 +625,10 @@ jobs: - dist: focal env: - MAKEFILE_TARGET=distcheck + - AUTOCONF_VER=2.71 - AUTOMAKE_VER=1.16.5 - - LIBTOOL_VER=2.4.6 + - LIBTOOL_VER=2.4.7 + - M4_VER=1.4.19 before_install: - if [[ "$CROSS_GCC_VER" != "" ]]; then @@ -640,7 +642,7 @@ before_install: export C_INCLUDE_PATH=/usr/include; MAKEFILE_TARGET=check-nolink; fi -- if [[ "$AUTOMAKE_VER" != "" || "$LIBTOOL_VER" != "" || "$M4_VER" != "" ]]; then +- if [[ "$AUTOCONF_VER" != "" || "$AUTOMAKE_VER" != "" || "$LIBTOOL_VER" != "" || "$M4_VER" != "" ]]; then GNUTOOLS_ROOT=`pwd`/../gnu-tools; export PATH=$GNUTOOLS_ROOT/bin:$PATH; GNU_DOWNLOAD_SITE=https://ftp.gnu.org/gnu; @@ -648,13 +650,18 @@ before_install: - if [[ "$M4_VER" != "" ]]; then M4_XZ_URL=$GNU_DOWNLOAD_SITE/m4/m4-$M4_VER.tar.xz; wget -O - $M4_XZ_URL | tar xf - --xz --directory ~; - (cd ~/m4-$M4_VER && ./configure --prefix=$GNUTOOLS_ROOT && make -j check && make install); + (cd ~/m4-$M4_VER && ./configure --prefix=$GNUTOOLS_ROOT && make -j && make install); fi - if [[ "$LIBTOOL_VER" != "" ]]; then LIBTOOL_XZ_URL=$GNU_DOWNLOAD_SITE/libtool/libtool-$LIBTOOL_VER.tar.xz; wget -O - $LIBTOOL_XZ_URL | tar xf - --xz --directory ~; (cd ~/libtool-$LIBTOOL_VER && ./configure --prefix=$GNUTOOLS_ROOT && make -j && make install); fi +- if [[ "$AUTOCONF_VER" != "" ]]; then + AUTOCONF_XZ_URL=$GNU_DOWNLOAD_SITE/autoconf/autoconf-$AUTOCONF_VER.tar.xz; + wget -O - $AUTOCONF_XZ_URL | tar xf - --xz --directory ~; + (cd ~/autoconf-$AUTOCONF_VER && ./configure --prefix=$GNUTOOLS_ROOT && make -j && make install); + fi - if [[ "$AUTOMAKE_VER" != "" ]]; then AUTOMAKE_XZ_URL=$GNU_DOWNLOAD_SITE/automake/automake-$AUTOMAKE_VER.tar.xz; wget -O - $AUTOMAKE_XZ_URL | tar xf - --xz --directory ~; -- cgit v1.2.1