changeset 8204:f2b86274b9d8

Here is a patch to enable qtx-codecs from ./configure --enable-qtx-codecs. Sycotic Smith <sycotic@linuxmail.org>
author arpi
date Sat, 16 Nov 2002 03:06:55 +0000
parents 3af4919d9c5f
children 5c675b344bfb
files configure
diffstat 1 files changed, 17 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Sat Nov 16 03:04:33 2002 +0000
+++ b/configure	Sat Nov 16 03:06:55 2002 +0000
@@ -153,6 +153,7 @@
   --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 @@
 _shared_pp=no
 _new_conf=no
 _menu=no
+_qtx_codecs=no
 
 for ac_option do
   case "$ac_option" in
@@ -1203,6 +1205,9 @@
   --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 @@
 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 @@
 /* enables / disables new config */
 $_def_new_conf
 
+/* enables / disables QTX codecs */
+$_def_qtx_codecs
+
 /* enables / disables osd menu */
 $_def_menu