X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fconfigure.ac;h=625797199c14fbab94b13a929d4730bd386d7e3f;hb=d15e0002dd6aa24de8e899b3551d247ac2128811;hp=f9eccff430606ea02df5e3c5365a3c4ee2587803;hpb=6bcc7c5880782aadfdab7dd4b0c546eca8808641;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/configure.ac b/cinelerra-5.1/configure.ac index f9eccff4..62579719 100644 --- a/cinelerra-5.1/configure.ac +++ b/cinelerra-5.1/configure.ac @@ -582,6 +582,21 @@ AC_DEFUN([PKG_STATIC],[ ]) AC_DEFUN([PKG_FORCED],[PKG_STATIC([$1],[forced])]) +# order matters +for dep in \ + ffmpeg/faac ffmpeg/faad2 ffmpeg/twolame ffmpeg/lame ffmpeg/openjpeg \ + ffmpeg/libvorbis ffmpeg/libtheora ffmpeg/x264 ffmpeg/fdk \ + libiec61883/libraw1394 libavc1394/librom1394 \ + openexr/ilmbase ilmbase/libogg \ + libtheora/libogg libtheora/libvorbis ; do + lib=`dirname $dep` + eval pkg_lib="\$PKG_$lib"; eval have_lib="\$HAVE_$lib"; + if test "x$pkg_lib" != "xno" ; then + needs=`basename $dep` + eval "PKG_$needs=yes" + fi +done + AC_DEFUN([PKG_PROVIDE],[ if test "x$BUILD_$1" = "x" ; then if test "x$2" = "xno" -o "x$PKG_$1" = "xno"; then