From: Bastien N. <ha...@ha...> - 2006-09-12 09:24:21
|
On Tue, 2006-09-12 at 11:50 +0300, Ismail Donmez wrote: > 12 Eyl=C3=BCl 2006 Sal=C4=B1 11:28 tarihinde, Bastien Nocera =C5=9Funla= r=C4=B1 yazm=C4=B1=C5=9Ft=C4=B1:=20 > > On Mon, 2006-09-11 at 17:06 -0700, Diego Petten=C3=83=C2=B2 wrote: > > > +if test "x$with_external_ffmpeg" =3D "xyes"; then > > > + PKG_CHECK_MODULES([FFMPEG], [libavcodec >=3D 51.11.0]) > > > + PKG_CHECK_MODULES([FFMPEG_POSTPROC], [libpostproc >=3D 51.11.0]= ) > > > + AC_SUBST([FFMPEG_CFLAGS]) > > > + AC_SUBST([FFMPEG_LIBS]) > > > + AC_SUBST([FFMPEG_POSTPROC_CFLAGS]) > > > + AC_SUBST([FFMPEG_POSTPROC_LIBS]) > > > > The PKG_CHECK_MODULES macro already does the AC_SUBST for you (unless > > you have a truly ancient version). >=20 > Not with pkg-config 0.20 and autoconf 2.59 . I already had a problem wi= th alsa=20 > configure checks which Diego fixed. That's a known problem. If the first PKG_CHECK_MODULES is in an "if" statement, the macros might not be initialised properly. Try adding: PKG_PROG_PKG_CONFIG near the top of the configure.in Cheers --=20 Bastien Nocera <ha...@ha...>=20 I always thought deaf people were funny. -- Neil LaBute |