Skip to content

Commit

Permalink
Travis CI: Update autotools for distcheck
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
ivmai committed Mar 27, 2023
1 parent c9b95b7 commit cc8e83a
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -640,21 +642,26 @@ 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;
fi
- 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 ~;
Expand Down

0 comments on commit cc8e83a

Please sign in to comment.