summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2007-02-11 18:26:28 +0000
committerMåns Rullgård <mans@mansr.com>2007-02-11 18:26:28 +0000
commitfb2ce7d936692402fbb1e961178fc154043fa158 (patch)
treefb99d4601adb6eb785436538fba665b9590a23f4 /configure
parent5af4e0cca5722229343b187f3b7ff90a1628dbf0 (diff)
move pkg_requires setting to end
Originally committed as revision 7937 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure9
1 files changed, 5 insertions, 4 deletions
diff --git a/configure b/configure
index 16ec40f36a..fd915f5b19 100755
--- 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"