configure: warn if neither Soxr nor SpeexDSP found

This commit is contained in:
Martin Pulec
2022-10-17 08:58:09 +02:00
parent 179c3f6b88
commit dd28beea10

View File

@@ -2572,8 +2572,6 @@ if test "$found_speexdsp" = yes -a "$speexdsp_req" != no; then
speexdsp=yes
elif test "$speexdsp_req" = yes; then
AC_MSG_ERROR([SpeexDSP not found]);
elif test "$found_speexdsp" = no -a "$speexdsp_req" != no; then
UG_MSG_WARN([SpeexDSP was not found. Strongly recommending installing that, otherwise audio part of UG will be crippled.])
fi
# ---------------------------------------------------------------------------
@@ -2596,6 +2594,10 @@ elif test "$soxr_req" = yes; then
AC_MSG_ERROR([Soxr not found]);
fi
if test "$found_speexdsp" = no && test "$speexdsp_req" != no && test "$soxr" = no && test "$soxr_req" != no; then
UG_MSG_WARN([Neither Soxr nor SpeexDSP was not found. Strongly recommending installing that, otherwise audio part of UG will be crippled.])
fi
# ---------------------------------------------------------------------------
# Zfec
# ---------------------------------------------------------------------------