]> git.ipfire.org Git - thirdparty/gcc.git/commit
configure: require libzstd >= 1.4.0
authorChristophe Lyon <christophe.lyon@arm.com>
Fri, 4 Nov 2022 10:06:47 +0000 (11:06 +0100)
committerArsen Arsenović <arsen@gcc.gnu.org>
Mon, 7 Aug 2023 20:59:37 +0000 (22:59 +0200)
commite61c0e3a4b0ca814cb1a9d2a7c4f49535e6d0f16
treef10948152c4726f1a5e4b01055459327b889d133
parent407a2c9abd3dc3ebde0443980bdacbdf83a98374
configure: require libzstd >= 1.4.0

gas uses ZSTD_compressStream2 which is only available with libzstd >=
1.4.0, leading to build errors when an older version is installed.

This patch updates the check libzstd presence to check its version is
>= 1.4.0. However, since gas seems to be the only component requiring
such a recent version this may imply that we disable ZSTD support for
all components although some would still benefit from an older
version.

I ran 'autoreconf -f' in all directories containing a configure.ac
file, using vanilla autoconf-2.69 and automake-1.15.1. I noticed
several errors from autoheader in readline, as well as warnings in
intl, but they are unrelated to this patch.

This should fix some of the buildbots.

OK for trunk?

Thanks,

Christophe

config/ChangeLog:

* zstd.m4: Add minimum version requirement of 1.4.0.
config/zstd.m4