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).



--
Dipl.-Phys. Fabian Greffrath

Ruhr-Universität Bochum
Lehrstuhl für Energieanlagen und Energieprozesstechnik (LEAT)
Universitätsstr. 150, IB 3/134
D-44780 Bochum

Telefon: +49 (0)234 / 32-26334
Fax:     +49 (0)234 / 32-14227
E-Mail:  greffr...@leat.ruhr-uni-bochum.de
--- 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_MSG_RESULT([yes])
                 AC_DEFINE(FFMPEG_AVCODEC, 1, [if set use legacy include file location])
             else
_______________________________________________
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers

Reply via email to