do complete version check for SpanDSP, since the app_fax code is not compatible with 0.0.6 yet

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@149426 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Kevin P. Fleming
2008-10-15 09:59:12 +00:00
parent 8e33548633
commit 87b8602128
2 changed files with 20 additions and 8 deletions

View File

@@ -1350,7 +1350,10 @@ AST_C_COMPILE_CHECK([SPANDSP], [
#if SPANDSP_RELEASE_DATE < 20080516
#error "spandsp 0.0.5 or greater is required"
#endif
], [spandsp/version.h], , [minimum version of SpanDSP])
#if SPANDSP_RELEASE_DATE >= 20081012
#error "spandsp 0.0.6 or greater is not supported; use 0.0.5"
#endif
], [spandsp/version.h], , [compatible version of SpanDSP])
if test "x${PBX_SPANDSP}" = "x1" ; then
# We found the correct version in the header, now let's make sure it links