alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
From: "Diego Elio Pettenò" <flameeyes@gmail.com>
To: alsa-devel@alsa-project.org
Subject: [PATCH 3/4] List libavutil as a dependency together with libavcodec.
Date: Thu, 20 Jan 2011 04:45:15 +0100	[thread overview]
Message-ID: <1295495116-19937-3-git-send-email-flameeyes@gmail.com> (raw)
In-Reply-To: <1295495116-19937-1-git-send-email-flameeyes@gmail.com>

Without this it is possible that the a52 plugin ends up with an undefined
reference to av_free().
---
 configure.in |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/configure.in b/configure.in
index 5d71cae..973900b 100644
--- a/configure.in
+++ b/configure.in
@@ -67,7 +67,8 @@ AC_ARG_ENABLE([avcodec],
       AS_HELP_STRING([--disable-avcodec], [Don't build plugins depending on avcodec (a52)]))
 
 if test "x$enable_avcodec" != "xno"; then
-  PKG_CHECK_MODULES(AVCODEC, [libavcodec], [HAVE_AVCODEC=yes], [HAVE_AVCODEC=no])
+  # you need libavutil linked in for av_free
+  PKG_CHECK_MODULES(AVCODEC, [libavcodec libavutil], [HAVE_AVCODEC=yes], [HAVE_AVCODEC=no])
 fi
 
 if test "x$HAVE_AVCODEC" = "xno"; then
-- 
1.7.4.rc2

  parent reply	other threads:[~2011-01-20  3:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-20  3:45 [PATCH 1/4] Update attributes.m4 to avoid warnings with autoconf-2.68 Diego Elio Pettenò
2011-01-20  3:45 ` [PATCH 2/4] Add missing no-undefined parameter Diego Elio Pettenò
2011-01-20  3:45 ` Diego Elio Pettenò [this message]
2011-01-20  3:45 ` [PATCH 4/4] Only export symbols needed by the plugins' interface Diego Elio Pettenò
2011-01-20 13:57 ` [PATCH 1/4] Update attributes.m4 to avoid warnings with autoconf-2.68 Diego Elio Pettenò

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1295495116-19937-3-git-send-email-flameeyes@gmail.com \
    --to=flameeyes@gmail.com \
    --cc=alsa-devel@alsa-project.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).