mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-28 08:39:20 +00:00
Allow speex support to be explicitly disabled
This commit is contained in:
parent
4a1911430f
commit
161e8252ad
1 changed files with 11 additions and 7 deletions
18
configure.ac
18
configure.ac
|
|
@ -330,13 +330,17 @@ fi
|
|||
|
||||
AC_WORDS_BIGENDIAN
|
||||
|
||||
dnl normaly this should only by done by mediastreamer2/configure.ac
|
||||
dnl but to workaround bugs when cross-compiling for arm-linux,
|
||||
dnl we need to have SPEEX_LIBS defined
|
||||
dnl Furthermore it is good to repeat here all mediastreamer2 toggles
|
||||
dnl since top-level configure --help will not print them.
|
||||
|
||||
PKG_CHECK_MODULES(SPEEX, speex >= 1.1.6, build_speex=yes)
|
||||
AC_ARG_ENABLE([speex],
|
||||
AS_HELP_STRING([--disable-speex], [Disable speex support]),
|
||||
[], [enable_speex=yes])
|
||||
if test "x$enable_speex" = "xyes"; then
|
||||
dnl normaly this should only by done by mediastreamer2/configure.ac
|
||||
dnl but to workaround bugs when cross-compiling for arm-linux,
|
||||
dnl we need to have SPEEX_LIBS defined
|
||||
dnl Furthermore it is good to repeat here all mediastreamer2 toggles
|
||||
dnl since top-level configure --help will not print them.
|
||||
PKG_CHECK_MODULES(SPEEX, speex >= 1.1.6, build_speex=yes)
|
||||
fi
|
||||
|
||||
dnl conditionnal build of video support
|
||||
AC_ARG_ENABLE(video,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue