Configure script changes for af_sox,

enable filter with ./configure --enable-libsox

Regards,

---
 configure |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)



diff --git a/configure b/configure
index 5ec664c..f7a723d 100755
--- a/configure
+++ b/configure
@@ -175,6 +175,7 @@ External library support:
   --enable-libopenjpeg     enable JPEG 2000 decoding via OpenJPEG [no]
   --enable-librtmp         enable RTMP[E] support via librtmp [no]
   --enable-libschroedinger enable Dirac support via libschroedinger [no]
+  --enable-libsox          enable libsox [no]
   --enable-libspeex        enable Speex decoding via libspeex [no]
   --enable-libtheora       enable Theora encoding via libtheora [no]
   --enable-libvorbis       enable Vorbis encoding via libvorbis,
@@ -881,6 +882,7 @@ CONFIG_LIST="
     libopenjpeg
     librtmp
     libschroedinger
+    libsox
     libspeex
     libtheora
     libvorbis
@@ -1380,6 +1382,9 @@ rtp_protocol_select="udp_protocol"
 tcp_protocol_deps="network"
 udp_protocol_deps="network"
 
+# filters
+sox_filter_deps="libsox"
+
 # libraries
 avdevice_deps="avcodec avformat"
 avformat_deps="avcodec"
@@ -2694,6 +2699,7 @@ enabled librtmp    && { check_lib librtmp/rtmp.h RTMP_Socket $(pkg-config --libs
                         die "ERROR: librtmp not found or RTMP_Socket() missing, librtmp version must be >= 2.2.f"; }
 enabled libschroedinger && add_cflags $(pkg-config --cflags schroedinger-1.0) &&
                            require libschroedinger schroedinger/schro.h schro_init $(pkg-config --libs schroedinger-1.0)
+enabled libsox && add_cflags $(pkg-config --cflags sox) && check_lib sox.h sox_init $(pkg-config --libs sox)
 enabled libspeex   && require  libspeex speex/speex.h speex_decoder_init -lspeex
 enabled libtheora  && require  libtheora theora/theoraenc.h th_info_init -ltheoraenc -ltheoradec -logg
 enabled libvorbis  && require  libvorbis vorbis/vorbisenc.h vorbis_info_init -lvorbisenc -lvorbis -logg

_______________________________________________
FFmpeg-soc mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc

Reply via email to