OSDN Git Service

move pkg_requires setting to end
authorMåns Rullgård <mans@mansr.com>
Sun, 11 Feb 2007 18:26:28 +0000 (18:26 +0000)
committerMåns Rullgård <mans@mansr.com>
Sun, 11 Feb 2007 18:26:28 +0000 (18:26 +0000)
Originally committed as revision 7937 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index 16ec40f..fd915f5 100755 (executable)
--- a/configure
+++ b/configure
@@ -1050,13 +1050,10 @@ for opt do
   --enable-libnut) libnut="yes"
   ;;
   --enable-libogg) libogg="yes"
-    pkg_requires="$pkg_requires ogg >= 1.1"
   ;;
   --enable-libtheora) libtheora="yes"
-    pkg_requires="$pkg_requires theora"
   ;;
   --enable-vorbis) libvorbis="yes"
-    pkg_requires="$pkg_requires vorbis vorbisenc"
   ;;
   --enable-faad) libfaad="yes"
   ;;
@@ -1073,7 +1070,6 @@ for opt do
   --enable-x11grab) x11grab="yes"
   ;;
   --enable-dc1394) dc1394="yes"
-    pkg_requires="$pkg_requires libraw1394"
   ;;
   --disable-vhook) vhook="no"
   ;;
@@ -1829,6 +1825,11 @@ enabled_any pthreads beosthreads os2threads w32threads && enable threads
 check_deps $CONFIG_LIST $HAVE_LIST $DECODER_LIST $ENCODER_LIST $PARSER_LIST \
     $DEMUXER_LIST $MUXER_LIST
 
+enabled libogg    && append pkg_requires "ogg >= 1.1"
+enabled libtheora && append pkg_requires "theora"
+enabled libvorbis && append pkg_requires "vorbis vorbisenc"
+enabled dc1394    && append pkg_requires "libraw1394"
+
 echo "install prefix            $PREFIX"
 echo "source path               $source_path"
 echo "C compiler                $cc"