Index: build_tools/menuselect-deps.in =================================================================== --- build_tools/menuselect-deps.in (revision 266734) +++ build_tools/menuselect-deps.in (working copy) @@ -52,6 +52,7 @@ SQLITE3=@PBX_SQLITE3@ SQLITE=@PBX_SQLITE@ SS7=@PBX_SS7@ +SWIFT=@PBX_SWIFT@ OPENSSL=@PBX_OPENSSL@ SUPPSERV=@PBX_SUPPSERV@ SYSLOG=@PBX_SYSLOG@ Index: configure.ac =================================================================== --- configure.ac (revision 266828) +++ configure.ac (working copy) @@ -359,6 +359,7 @@ AST_OPTION_ONLY([sounds-cache], [SOUNDS_CACHE_DIR], [cached sound tarfiles], [${HOME}/.asterisk_sounds_cache]) AST_EXT_LIB_SETUP([SPANDSP], [SPANDSP], [spandsp]) AST_EXT_LIB_SETUP([SS7], [ISDN SS7], [ss7]) +AST_EXT_LIB_SETUP([SWIFT], [Cepstral speech engine], [swift], [], [/opt/swift]) AST_EXT_LIB_SETUP([OPENR2], [MFR2], [openr2]) AST_EXT_LIB_SETUP([PWLIB], [PWlib], [pwlib]) AST_EXT_LIB_SETUP([OPENH323], [OpenH323], [h323]) @@ -1629,6 +1630,8 @@ AST_EXT_LIB_CHECK([SS7], [ss7], [ss7_pollflags], [libss7.h]) +AST_EXT_LIB_CHECK([SWIFT], [swift], [swift_event_get_audio], [swift.h], [-lceplang_en -lceplex_us]) + AST_EXT_LIB_CHECK([OPENR2], [openr2], [openr2_chan_new], [openr2.h]) if test "${USE_PWLIB}" != "no"; then Index: autoconf/ast_ext_lib.m4 =================================================================== --- autoconf/ast_ext_lib.m4 (revision 266734) +++ autoconf/ast_ext_lib.m4 (working copy) @@ -4,10 +4,11 @@ # $3 -> option name, used in --with-$3 or --without-$3 when calling configure. # $2 and $4 are just text describing the package (short and long form) -# AST_EXT_LIB_SETUP([package], [short description], [configure option name], [long description]) +# AST_EXT_LIB_SETUP([package], [short description], [configure option name], [long description], [default value]) AC_DEFUN([AST_EXT_LIB_SETUP], [ + $1_DIR="$5" $1_DESCRIP="$2" $1_OPTION="$3" PBX_$1=0 Index: include/asterisk/autoconfig.h.in =================================================================== --- include/asterisk/autoconfig.h.in (revision 266828) +++ include/asterisk/autoconfig.h.in (working copy) @@ -782,6 +782,9 @@ /* Define to 1 if you have the `swapctl' function. */ #undef HAVE_SWAPCTL +/* Define to 1 if you have the Cepstral speech engine library. */ +#undef HAVE_SWIFT + /* Define to 1 if you have the `sysctl' function. */ #undef HAVE_SYSCTL Index: makeopts.in =================================================================== --- makeopts.in (revision 266734) +++ makeopts.in (working copy) @@ -188,6 +188,9 @@ SS7_INCLUDE=@SS7_INCLUDE@ SS7_LIB=@SS7_LIB@ +SWIFT_INCLUDE=@SWIFT_INCLUDE@ +SWIFT_LIB=@SWIFT_LIB@ + OPENR2_INCLUDE=@OPENR2_INCLUDE@ OPENR2_LIB=@OPENR2_LIB@