1dnl speex 2 3AC_ARG_WITH(speex, AS_HELP_STRING([--without-speex], 4 [Compile without speex support])) 5 6if test "x$with_speex" != "xno" 7then 8 PKG_CHECK_MODULES(speex, [ogg >= 1.0 speex >= 1.0.0], 9 [AC_SUBST(speex_LIBS) 10 AC_SUBST(speex_CFLAGS) 11 want_speex="yes" 12 DECODER_PLUGINS="$DECODER_PLUGINS speex"], 13 [true]) 14fi 15 16AM_CONDITIONAL([BUILD_speex], [test "$want_speex"]) 17AC_CONFIG_FILES([decoder_plugins/speex/Makefile]) 18