aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2008-12-15 15:41:22 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2008-12-15 15:41:22 +0000
commit4e5ba01e6a1bb0063775335b8c10d8067e72bad4 (patch)
tree8100ab1698caf31d867b26cfbdf31eadf5a8b32c /configure.ac
parentf983328611a43bc9c82c3fa5963afd84e4099428 (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: http://svn.digium.com/svn/asterisk/trunk@164257 f38db490-d61c-443f-a65b-d21fe96a405b
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