shithub: sox

Download patch

ref: 14e69e6b0ed92f53c0ed974020fcbdd59f5ad0ad
parent: ad221b90d57bcfcbcf58eceb670de3e70565a306
author: evilynux <evilynux>
date: Tue May 8 21:13:31 EDT 2007

Added checks for avutil and avcodec, required by strict libtool policy.

--- a/configure.ac
+++ b/configure.ac
@@ -196,7 +196,9 @@
 dnl Check for ffmpeg libraries
 AC_CHECK_HEADER(ffmpeg/avformat.h,
     [with_ffmpeg=yes
-    AC_CHECK_LIB(avformat, av_open_input_file,, with_ffmpeg=no)],
+    AC_CHECK_LIB(avformat, av_open_input_file,, with_ffmpeg=no)
+    AC_CHECK_LIB(avutil, av_rescale_q,, with_ffmpeg=no)
+    AC_CHECK_LIB(avcodec, avcodec_encode_audio,, with_ffmpeg=no)],
     with_ffmpeg=no)
 AM_CONDITIONAL(HAVE_FFMPEG, test x$with_ffmpeg = xyes)