comparison configure @ 30846:72ae3dd3aa6e

Replace separate Win32, XAnim and Real codec directories by one global dir. Nowadays MPlayer does not use the codecs from other installed programs. A runtime setting will soon take over the rare case that binary codecs should be searched for in non-standard directories.
author diego
date Sun, 14 Mar 2010 16:13:32 +0000
parents 520e26362ad8
children 223657410a8b
comparison
equal deleted inserted replaced
30845:ab30cba9b037 30846:72ae3dd3aa6e
216 --mandir=DIR directory for installing man pages [PREFIX/share/man] 216 --mandir=DIR directory for installing man pages [PREFIX/share/man]
217 --confdir=DIR directory for installing configuration files 217 --confdir=DIR directory for installing configuration files
218 [PREFIX/etc/mplayer] 218 [PREFIX/etc/mplayer]
219 --libdir=DIR directory for object code libraries [PREFIX/lib] 219 --libdir=DIR directory for object code libraries [PREFIX/lib]
220 --codecsdir=DIR directory for binary codecs [LIBDIR/codecs] 220 --codecsdir=DIR directory for binary codecs [LIBDIR/codecs]
221 --win32codecsdir=DIR directory for Windows DLLs [LIBDIR/codecs]
222 --xanimcodecsdir=DIR directory for XAnim codecs [LIBDIR/codecs]
223 --realcodecsdir=DIR directory for RealPlayer codecs [LIBDIR/codecs]
224 221
225 Optional features: 222 Optional features:
226 --disable-mencoder disable MEncoder (A/V encoder) compilation [enable] 223 --disable-mencoder disable MEncoder (A/V encoder) compilation [enable]
227 --disable-mplayer disable MPlayer compilation [enable] 224 --disable-mplayer disable MPlayer compilation [enable]
228 --enable-gui enable GMPlayer compilation (GTK+ GUI) [disable] 225 --enable-gui enable GMPlayer compilation (GTK+ GUI) [disable]
788 --libdir=*) 785 --libdir=*)
789 _libdir=$(echo $ac_option | cut -d '=' -f 2) 786 _libdir=$(echo $ac_option | cut -d '=' -f 2)
790 ;; 787 ;;
791 --codecsdir=*) 788 --codecsdir=*)
792 _codecsdir=$(echo $ac_option | cut -d '=' -f 2) 789 _codecsdir=$(echo $ac_option | cut -d '=' -f 2)
793 ;;
794 --win32codecsdir=*)
795 _win32codecsdir=$(echo $ac_option | cut -d '=' -f 2)
796 ;;
797 --xanimcodecsdir=*)
798 _xanimcodecsdir=$(echo $ac_option | cut -d '=' -f 2)
799 ;;
800 --realcodecsdir=*)
801 _realcodecsdir=$(echo $ac_option | cut -d '=' -f 2)
802 ;; 790 ;;
803 791
804 --with-install=*) 792 --with-install=*)
805 _install=$(echo $ac_option | cut -d '=' -f 2 ) 793 _install=$(echo $ac_option | cut -d '=' -f 2 )
806 ;; 794 ;;
7061 _win32dll=yes 7049 _win32dll=yes
7062 fi 7050 fi
7063 fi 7051 fi
7064 if test "$_win32dll" = yes ; then 7052 if test "$_win32dll" = yes ; then
7065 def_win32dll='#define CONFIG_WIN32DLL 1' 7053 def_win32dll='#define CONFIG_WIN32DLL 1'
7066 test -z "$_win32codecsdir" && _win32codecsdir=$_codecsdir
7067 _res_comment="using $_win32codecsdir"
7068 if ! win32 ; then 7054 if ! win32 ; then
7069 def_win32_loader='#define WIN32_LOADER 1' 7055 def_win32_loader='#define WIN32_LOADER 1'
7070 _win32_emulation=yes 7056 _win32_emulation=yes
7071 else 7057 else
7072 extra_ldflags="$extra_ldflags -ladvapi32 -lole32" 7058 extra_ldflags="$extra_ldflags -ladvapi32 -lole32"
7088 if test "$_dl" = yes ; then 7074 if test "$_dl" = yes ; then
7089 _xanim=yes 7075 _xanim=yes
7090 fi 7076 fi
7091 fi 7077 fi
7092 if test "$_xanim" = yes ; then 7078 if test "$_xanim" = yes ; then
7093 test -z "$_xanimcodecsdir" && _xanimcodecsdir=$_codecsdir
7094 def_xanim='#define CONFIG_XANIM 1' 7079 def_xanim='#define CONFIG_XANIM 1'
7095 def_xanim_path="#define XACODEC_PATH \"$_xanimcodecsdir\""
7096 _codecmodules="xanim $_codecmodules" 7080 _codecmodules="xanim $_codecmodules"
7097 _res_comment="using $_xanimcodecsdir"
7098 else 7081 else
7099 def_xanim='#undef CONFIG_XANIM' 7082 def_xanim='#undef CONFIG_XANIM'
7100 def_xanim_path='#undef XACODEC_PATH'
7101 _nocodecmodules="xanim $_nocodecmodules" 7083 _nocodecmodules="xanim $_nocodecmodules"
7102 fi 7084 fi
7103 echores "$_xanim" 7085 echores "$_xanim"
7104 7086
7105 7087
7111 (linux || freebsd || netbsd || openbsd || dragonfly || darwin || win32 || os2) ; then 7093 (linux || freebsd || netbsd || openbsd || dragonfly || darwin || win32 || os2) ; then
7112 _real=yes 7094 _real=yes
7113 fi 7095 fi
7114 fi 7096 fi
7115 if test "$_real" = yes ; then 7097 if test "$_real" = yes ; then
7116 test -z "$_realcodecsdir" && _realcodecsdir="$_codecsdir"
7117 def_real='#define CONFIG_REALCODECS 1' 7098 def_real='#define CONFIG_REALCODECS 1'
7118 def_real_path="#define REALCODEC_PATH \"$_realcodecsdir\""
7119 _codecmodules="real $_codecmodules" 7099 _codecmodules="real $_codecmodules"
7120 _res_comment="using $_realcodecsdir"
7121 else 7100 else
7122 def_real='#undef CONFIG_REALCODECS' 7101 def_real='#undef CONFIG_REALCODECS'
7123 def_real_path="#undef REALCODEC_PATH"
7124 _nocodecmodules="real $_nocodecmodules" 7102 _nocodecmodules="real $_nocodecmodules"
7125 fi 7103 fi
7126 echores "$_real" 7104 echores "$_real"
7127 7105
7128 7106
8987 8965
8988 /* binary codecs */ 8966 /* binary codecs */
8989 $def_qtx 8967 $def_qtx
8990 $def_qtx_win32 8968 $def_qtx_win32
8991 $def_real 8969 $def_real
8992 $def_real_path
8993 $def_win32_loader 8970 $def_win32_loader
8994 $def_win32dll 8971 $def_win32dll
8995 #define WIN32_PATH "$_win32codecsdir"
8996 $def_xanim 8972 $def_xanim
8997 $def_xanim_path
8998 $def_xmms 8973 $def_xmms
8974 #define BINARY_CODECS_PATH "$_codecsdir"
8999 #define XMMS_INPUT_PLUGIN_DIR "$_xmmsplugindir" 8975 #define XMMS_INPUT_PLUGIN_DIR "$_xmmsplugindir"
9000 8976
9001 8977
9002 /* GUI */ 8978 /* GUI */
9003 $def_gtk2 8979 $def_gtk2