summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-11-16 03:06:55 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-11-16 03:06:55 +0000
commitb7ad040a863f0466fbf4b7690a247fd483f82b4f (patch)
treeec4debc7079e689e7d698f983a4fe4680f3cfccd /configure
parent28538fd920dc95368b1f76fd6ac2902c403ee686 (diff)
downloadmpv-b7ad040a863f0466fbf4b7690a247fd483f82b4f.tar.bz2
mpv-b7ad040a863f0466fbf4b7690a247fd483f82b4f.tar.xz
Here is a patch to enable qtx-codecs from ./configure --enable-qtx-codecs.
Sycotic Smith <sycotic@linuxmail.org> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8205 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure17
1 files changed, 17 insertions, 0 deletions
diff --git a/configure b/configure
index a8df7a9966..7c64423ba0 100755
--- a/configure
+++ b/configure
@@ -153,6 +153,7 @@ Optional features:
--disable-unrarlib Disable Unique RAR File Library [enabled]
--enable-new-conf Enable new config stuff [disabled]
--enable-menu Enable osd menu support (need new config) [disabled]
+ --enable-qtx-codecs Enable Quicktime codecs [disabled]
Codecs:
--enable-gif enable gif89a output support [autodetect]
@@ -1017,6 +1018,7 @@ _freetype=no
_shared_pp=no
_new_conf=no
_menu=no
+_qtx_codecs=no
for ac_option do
case "$ac_option" in
@@ -1203,6 +1205,9 @@ for ac_option do
--enable-menu) _menu=yes ;;
--disable-menu) _menu=no ;;
+ --enable-qtx-codecs) _qtx_codecs=yes ;;
+ --disable-qtx-codecs) _qtx_codecs=no ;;
+
--language=*)
LINGUAS=`echo $ac_option | cut -d '=' -f 2`
;;
@@ -4261,6 +4266,15 @@ _def_menu='#undef HAVE_MENU'
fi
echores "$_menu"
+# Check to see if they want QTX codecs enabled
+echocheck "QTX codecs"
+if test "$_qtx_codecs" = yes ; then
+ _def_qtx_codecs='#define USE_QTX_CODECS 1'
+else
+ _def_qtx_codecs='#undef USE_QTX_CODECS'
+fi
+echores "$_qtx_codecs"
+
# --------------- GUI specific tests begin -------------------
echocheck "GUI"
echo "$_gui"
@@ -4999,6 +5013,9 @@ $_def_joystick
/* enables / disables new config */
$_def_new_conf
+/* enables / disables QTX codecs */
+$_def_qtx_codecs
+
/* enables / disables osd menu */
$_def_menu