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
This commit is contained in:
George Joseph
2023-11-07 16:24:37 -07:00
committed by asterisk-org-access-app[bot]
parent c19470497f
commit 36f8490901
2 changed files with 9 additions and 9 deletions

View File

@@ -1732,7 +1732,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