codec_ilbc: Disable system ilbc if version >= 3.0.0

Fedora 37 started shipping ilbc 3.0.4 which we don't yet support.
configure.ac now checks the system for "libilbc < 3" instead of
just "libilbc".  If true, the system version of ilbc will be used.
If not, the version included at codecs/ilbc will be used.

Resolves: #84
(cherry picked from commit d819a6bccb)
This commit is contained in:
George Joseph
2023-11-07 16:24:37 -07:00
committed by Asterisk Development Team
parent da35b6a244
commit 1d87c27cab
2 changed files with 9 additions and 9 deletions

View File

@@ -1736,7 +1736,7 @@ if test "${USE_ILBC}" != "no"; then
ILBC_INTERNAL="no"
fi
if test "${ILBC_SYSTEM}" = "yes"; then
AST_PKG_CONFIG_CHECK(ILBC, libilbc)
AST_PKG_CONFIG_CHECK(ILBC, libilbc < 3)
if test "$PBX_ILBC" = "1"; then
ILBC_INTERNAL="no"
fi