[MPlayer-dev-eng] [PATCH] add --with-codecsdir switch to configure

Diego Biurrun diego at biurrun.de
Mon May 12 18:27:39 CEST 2003


Hi!

This simple patch adds a --with-codecsdir option to configure that
if present sets the real, win32 and xanim codec directories all at
once as discussed earlier today.

If nobody objects I will commit this tomorrow and also remove the
Cygwin/MinGW special casing for the codecs directory, this new option
adds an easy way to solve this after all.

Diego


--- configure	12 May 2003 14:39:40 -0000	1.705
+++ configure	12 May 2003 16:54:00 -0000
@@ -283,6 +283,7 @@
   --with-madlibdir=DIR     libmad (libmad shared library) in DIR
   --with-mlibdir=DIR       libmlib (MLIB support) in DIR (Solaris only)
   --with-libdvdnav=DIR     libdvdnav in DIR
+  --with-codecsdir=DIR     Binary codec files in DIR
   --with-win32libdir=DIR   W*ndows DLL files in DIR
   --with-xanimlibdir=DIR   XAnim DLL files in DIR
   --with-reallibdir=DIR    RealPlayer DLL files in DIR
@@ -1325,6 +1326,12 @@
     _dvdnav=yes
     ;;
 
+  --with-codecsdir=*)
+    _codecsdir=`echo $ac_option | cut -d '=' -f 2`
+    _win32libdir=$_codecsdir
+    _reallibdir=$_codecsdir
+    _xanimlibdir=$_codecsdir
+    ;;
   --with-win32libdir=*)
     _win32libdir=`echo $ac_option | cut -d '=' -f 2`
     _win32=yes



More information about the MPlayer-dev-eng mailing list