diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-06-02 15:43:40 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-06-02 15:43:40 +0000 |
commit | 28987321f8bb385bde1958993769bf4b7fb9e2a4 (patch) | |
tree | 8531652b9b0a95c8aba63b61a214354eb818c246 /configure.ac | |
parent | 999c5b4af6fa43674b749ca662e9134803db2be8 (diff) |
Add a configure script check for spandsp
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@119795 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 731197ff8..33ec19514 100644 --- a/configure.ac +++ b/configure.ac @@ -233,6 +233,7 @@ AST_EXT_LIB_SETUP([PGSQL], [PostgreSQL], [postgres]) AST_EXT_LIB_SETUP([POPT], [popt], [popt]) AST_EXT_LIB_SETUP([PORTAUDIO], [PortAudio], [portaudio]) AST_EXT_LIB_SETUP([PRI], [ISDN PRI], [pri]) +AST_EXT_LIB_SETUP([SPANDSP], [SPANDSP], [spandsp]) AST_EXT_LIB_SETUP([SS7], [ISDN SS7], [ss7]) AST_EXT_LIB_SETUP([PWLIB], [PWlib], [pwlib]) AST_EXT_LIB_SETUP([OPENH323], [OpenH323], [h323]) @@ -1290,6 +1291,12 @@ AST_EXT_LIB_CHECK([PORTAUDIO], [portaudio], [Pa_GetDeviceCount], [portaudio.h]) AST_EXT_LIB_CHECK([PRI], [pri], [pri_get_version], [libpri.h]) +AST_C_COMPILE_CHECK([SPANDSP], [ + #if SPANDSP_RELEASE_DATE < 20080516 + #error "spandsp 0.0.5 or greater is required" + #endif + ], [spandsp/version.h]) + AST_EXT_LIB_CHECK([SS7], [ss7], [ss7_pollflags], [libss7.h]) if test "${USE_PWLIB}" != "no"; then |