On Tue, May 18, 2010 at 10:28:49 (CEST), Fabian Greffrath wrote:

> Seems to be a race condition in the check for the legacy avcodec include
> file location. Please try the patch attached (which also fixes a bashism
> BTW).

--- idjc-0.8.2.orig/configure.in
+++ idjc-0.8.2/configure.in
@@ -48,8 +48,7 @@ if test $makeffmpeg != "no" ; then
             AC_SUBST(HAVE_AVCODEC, 1)
             AC_MSG_CHECKING([for avcodec.h in legacy ffmpeg directory])
-            gcc `pkg-config --cflags libavcodec` ffmpeg_avcodec.c -o /dev/null 
&> /dev/null
-            if test $? -eq 0 ; then
+            if $(gcc `pkg-config --cflags libavcodec` ffmpeg_avcodec.c -o 
/dev/null > /dev/null 2> /dev/null) ; then
                 AC_DEFINE(FFMPEG_AVCODEC, 1, [if set use legacy include file 

I don't understand the race here. What is running in paralell to the
configure script here?

In squeeze and later, this check must always fail. To fix this bug, this
check should be either forcefully disabled or fixed.

Can someone please show this issue upstream?

Reinhard Tartler, KeyID 945348A4

pkg-multimedia-maintainers mailing list

Reply via email to