summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2008-12-15 15:41:22 +0000
committerJoshua Colp <jcolp@digium.com>2008-12-15 15:41:22 +0000
commit8be6bc5f672fea6d0953a681c094e19fa6282054 (patch)
tree8100ab1698caf31d867b26cfbdf31eadf5a8b32c /configure.ac
parent6df30fb8cc4e1e74705435ecb883e14966ba9972 (diff)
Make app_fax compatible with newer versions of spandsp. This remains backwards compatible with earlier versions though so do not fret.
(closes issue #14073) Reported by: seandarcy git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@164257 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 986443023..9432bf864 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1412,6 +1412,10 @@ if test "x${PBX_SPANDSP}" = "x1" ; then
AST_EXT_LIB_CHECK([SPANDSP], [spandsp], [t38_terminal_init], [spandsp.h], [-ltiff])
fi
+if test "x${PBX_SPANDSP}" = "x1" ; then
+ AC_CHECK_HEADER([spandsp/expose.h], [AC_DEFINE_UNQUOTED([HAVE_SPANDSP_EXPOSE_H], 1, [Define to 1 if spandsp/expose.h is available.])], [], [#include <spandsp.h>])
+fi
+
AST_EXT_LIB_CHECK([SS7], [ss7], [ss7_pollflags], [libss7.h])
if test "${USE_PWLIB}" != "no"; then