comparison configure @ 20544:6612c7dde2cd

Rename all codecs directory options.
author diego
date Tue, 31 Oct 2006 14:47:34 +0000
parents 80c62a7b7c9d
children 1571b79fd95e
comparison
equal deleted inserted replaced
20543:3228e57f76f2 20544:6612c7dde2cd
204 data files (fonts, skins) [PREFIX/share/mplayer] 204 data files (fonts, skins) [PREFIX/share/mplayer]
205 --mandir=DIR use this prefix for installing manpages [PREFIX/man] 205 --mandir=DIR use this prefix for installing manpages [PREFIX/man]
206 --confdir=DIR use this prefix for installing configuration files 206 --confdir=DIR use this prefix for installing configuration files
207 [PREFIX/etc/mplayer] 207 [PREFIX/etc/mplayer]
208 --libdir=DIR use this prefix for object code libraries [PREFIX/lib] 208 --libdir=DIR use this prefix for object code libraries [PREFIX/lib]
209 --codecsdir=DIR directory for binary codecs [LIBDIR/codecs]
210 --win32codecsdir=DIR directory for Windows DLLs [LIBDIR/codecs]
211 --xanimcodecsdir=DIR directory for XAnim codecs [LIBDIR/codecs]
212 --realcodecsdir=DIR directory for RealPlayer codecs [LIBDIR/codecs]
209 213
210 Optional features: 214 Optional features:
211 --disable-mencoder disable mencoder (a/v encoder) compilation [enable] 215 --disable-mencoder disable mencoder (a/v encoder) compilation [enable]
212 --enable-gui enable gmplayer compilation (GTK+ GUI) [disable] 216 --enable-gui enable gmplayer compilation (GTK+ GUI) [disable]
213 --enable-gtk1 force using GTK 1.2 for GUI [disable] 217 --enable-gtk1 force using GTK 1.2 for GUI [disable]
425 --with-extraincdir=DIR extra headers (png, mad, sdl, ...) in DIR (*) 429 --with-extraincdir=DIR extra headers (png, mad, sdl, ...) in DIR (*)
426 --with-extralibdir=DIR extra linker search paths in DIR (*) 430 --with-extralibdir=DIR extra linker search paths in DIR (*)
427 --extra-libs=FLAGS extra linker flags 431 --extra-libs=FLAGS extra linker flags
428 --with-x11libdir=DIR X library files in DIR (*) 432 --with-x11libdir=DIR X library files in DIR (*)
429 --with-mliblibdir=DIR libmlib (mediaLib support) in DIR (Solaris only) 433 --with-mliblibdir=DIR libmlib (mediaLib support) in DIR (Solaris only)
430 --with-codecsdir=DIR Binary codec files in DIR
431 --with-win32libdir=DIR W*ndows DLL files in DIR
432 --with-xanimlibdir=DIR XAnim DLL files in DIR
433 --with-reallibdir=DIR RealPlayer DLL files in DIR
434 --with-xvidlibdir=DIR libxvidcore (XviD) in DIR (*) 434 --with-xvidlibdir=DIR libxvidcore (XviD) in DIR (*)
435 --with-x264libdir=DIR libx264 in DIR 435 --with-x264libdir=DIR libx264 in DIR
436 --with-libdtslibdir=DIR libdts library in DIR (*) 436 --with-libdtslibdir=DIR libdts library in DIR (*)
437 --with-livelibdir=DIR LIVE555 Streaming Media libraries in DIR 437 --with-livelibdir=DIR LIVE555 Streaming Media libraries in DIR
438 --with-toolamelibdir=DIR Toolame library in DIR 438 --with-toolamelibdir=DIR Toolame library in DIR
2081 ;; 2081 ;;
2082 --language=*) 2082 --language=*)
2083 _language=`echo $ac_option | cut -d '=' -f 2` 2083 _language=`echo $ac_option | cut -d '=' -f 2`
2084 ;; 2084 ;;
2085 2085
2086 --with-codecsdir=*) 2086 --codecsdir=*)
2087 _win32libdir=`echo $ac_option | cut -d '=' -f 2` 2087 _win32codecsdir=`echo $ac_option | cut -d '=' -f 2`
2088 _xanimlibdir=`echo $ac_option | cut -d '=' -f 2` 2088 _xanimcodecsdir=`echo $ac_option | cut -d '=' -f 2`
2089 _reallibdir=`echo $ac_option | cut -d '=' -f 2` 2089 _realcodecsdir=`echo $ac_option | cut -d '=' -f 2`
2090 ;; 2090 ;;
2091 --with-win32libdir=*) 2091 --win32codecsdir=*)
2092 _win32libdir=`echo $ac_option | cut -d '=' -f 2` 2092 _win32codecsdir=`echo $ac_option | cut -d '=' -f 2`
2093 ;; 2093 ;;
2094 --with-xanimlibdir=*) 2094 --xanimcodecsdir=*)
2095 _xanimlibdir=`echo $ac_option | cut -d '=' -f 2` 2095 _xanimcodecsdir=`echo $ac_option | cut -d '=' -f 2`
2096 ;; 2096 ;;
2097 --with-reallibdir=*) 2097 --realcodecsdir=*)
2098 _reallibdir=`echo $ac_option | cut -d '=' -f 2` 2098 _realcodecsdir=`echo $ac_option | cut -d '=' -f 2`
2099 ;; 2099 ;;
2100 --with-livelibdir=*) 2100 --with-livelibdir=*)
2101 _livelibdir=`echo $ac_option | cut -d '=' -f 2` 2101 _livelibdir=`echo $ac_option | cut -d '=' -f 2`
2102 ;; 2102 ;;
2103 2103
5964 5964
5965 5965
5966 if x86 && not qnx; then 5966 if x86 && not qnx; then
5967 5967
5968 if test "$_win32" = auto ; then 5968 if test "$_win32" = auto ; then
5969 if test -z "$_win32libdir" ; then 5969 if test -z "$_win32codecsdir" ; then
5970 for I in "$_libdir/codecs" "$_libdir/win32" /usr/local/lib/codecs /usr/lib/codecs /usr/local/lib/win32 /usr/lib/win32 ; do 5970 for I in "$_libdir/codecs" "$_libdir/win32" /usr/local/lib/codecs /usr/lib/codecs /usr/local/lib/win32 /usr/lib/win32 ; do
5971 if test -d "$I" ; then 5971 if test -d "$I" ; then
5972 _win32libdir="$I" 5972 _win32codecsdir="$I"
5973 break; 5973 break;
5974 fi; 5974 fi;
5975 done 5975 done
5976 # Fall back on a subfolder of the current dir on Windows 5976 # Fall back on a subfolder of the current dir on Windows
5977 mingw32 && _win32libdir="codecs" 5977 mingw32 && _win32codecsdir="codecs"
5978 fi 5978 fi
5979 fi 5979 fi
5980 5980
5981 echocheck "Win32 codec DLL support" 5981 echocheck "Win32 codec DLL support"
5982 if test "$_win32" = auto ; then 5982 if test "$_win32" = auto ; then
5983 _win32=no 5983 _win32=no
5984 test -n "$_win32libdir" && _win32=yes 5984 test -n "$_win32codecsdir" && _win32=yes
5985 fi 5985 fi
5986 if test "$_win32" = yes ; then 5986 if test "$_win32" = yes ; then
5987 _def_win32='#define USE_WIN32DLL 1' 5987 _def_win32='#define USE_WIN32DLL 1'
5988 _res_comment="using $_win32libdir" 5988 _res_comment="using $_win32codecsdir"
5989 else 5989 else
5990 _def_win32='#undef USE_WIN32DLL' 5990 _def_win32='#undef USE_WIN32DLL'
5991 _nocodecmodules="win32 $_nocodecmodules" 5991 _nocodecmodules="win32 $_nocodecmodules"
5992 fi 5992 fi
5993 echores "$_win32" 5993 echores "$_win32"
6018 if test "$_xanim" = auto ; then 6018 if test "$_xanim" = auto ; then
6019 _xanim=no 6019 _xanim=no
6020 _res_comment="dynamic loader support needed" 6020 _res_comment="dynamic loader support needed"
6021 if test "$_dl" = yes ; then 6021 if test "$_dl" = yes ; then
6022 _res_comment="no suitable directory found - see DOCS/HTML/$_doc_lang/codecs.html" 6022 _res_comment="no suitable directory found - see DOCS/HTML/$_doc_lang/codecs.html"
6023 if test -z "$_xanimlibdir" ; then 6023 if test -z "$_xanimcodecsdir" ; then
6024 for I in "$_libdir/codecs" /usr/local/lib/xanim/mods /usr/lib/xanim/mods /usr/lib/xanim $XANIM_MOD_DIR ; do 6024 for I in "$_libdir/codecs" /usr/local/lib/xanim/mods /usr/lib/xanim/mods /usr/lib/xanim $XANIM_MOD_DIR ; do
6025 if test -d "$I" ; then 6025 if test -d "$I" ; then
6026 _xanimlibdir="$I" 6026 _xanimcodecsdir="$I"
6027 break; 6027 break;
6028 fi; 6028 fi;
6029 done 6029 done
6030 fi 6030 fi
6031 test "$_xanimlibdir" && _xanim=yes 6031 test "$_xanimcodecsdir" && _xanim=yes
6032 fi 6032 fi
6033 fi 6033 fi
6034 if test "$_xanim" = yes ; then 6034 if test "$_xanim" = yes ; then
6035 _def_xanim='#define USE_XANIM 1' 6035 _def_xanim='#define USE_XANIM 1'
6036 _def_xanim_path="#define XACODEC_PATH \"$_xanimlibdir\"" 6036 _def_xanim_path="#define XACODEC_PATH \"$_xanimcodecsdir\""
6037 _codecmodules="xanim $_codecmodules" 6037 _codecmodules="xanim $_codecmodules"
6038 _res_comment="using $_xanimlibdir" 6038 _res_comment="using $_xanimcodecsdir"
6039 else 6039 else
6040 _def_xanim='#undef USE_XANIM' 6040 _def_xanim='#undef USE_XANIM'
6041 _def_xanim_path='#undef XACODEC_PATH' 6041 _def_xanim_path='#undef XACODEC_PATH'
6042 _nocodecmodules="xanim $_nocodecmodules" 6042 _nocodecmodules="xanim $_nocodecmodules"
6043 fi 6043 fi
6050 if test "$_dl" = yes || test "$_win32" = yes ; then 6050 if test "$_dl" = yes || test "$_win32" = yes ; then
6051 # if test "$_dl" = yes ; then 6051 # if test "$_dl" = yes ; then
6052 _res_comment="tested only on Linux/FreeBSD/NetBSD/Cygwin/MinGW/Darwin" 6052 _res_comment="tested only on Linux/FreeBSD/NetBSD/Cygwin/MinGW/Darwin"
6053 if linux || freebsd || netbsd || win32 || darwin ; then 6053 if linux || freebsd || netbsd || win32 || darwin ; then
6054 _res_comment="no suitable directory found - see DOCS/HTML/$_doc_lang/codecs.html" 6054 _res_comment="no suitable directory found - see DOCS/HTML/$_doc_lang/codecs.html"
6055 if test -z "$_reallibdir" ; then 6055 if test -z "$_realcodecsdir" ; then
6056 for I in "$_libdir/codecs" "$_libdir/real" /usr/lib/real \ 6056 for I in "$_libdir/codecs" "$_libdir/real" /usr/lib/real \
6057 /usr/lib/RealPlayer{9,8,}/Codecs /usr/local/RealPlayer{9,8,}/Codecs \ 6057 /usr/lib/RealPlayer{9,8,}/Codecs /usr/local/RealPlayer{9,8,}/Codecs \
6058 /usr/local/lib/RealPlayer{9,8,}/Codecs /opt/RealPlayer{9,8,}/{Real/,}Codecs \ 6058 /usr/local/lib/RealPlayer{9,8,}/Codecs /opt/RealPlayer{9,8,}/{Real/,}Codecs \
6059 {~,}/Applications/RealOne\ Player.app/Contents/MacOS/Library/Codecs \ 6059 {~,}/Applications/RealOne\ Player.app/Contents/MacOS/Library/Codecs \
6060 "$_win32libdir"; do 6060 "$_win32codecsdir"; do
6061 if test -d "$I" ; then 6061 if test -d "$I" ; then
6062 _reallibdir="$I" 6062 _realcodecsdir="$I"
6063 break 6063 break
6064 fi 6064 fi
6065 # Fall back on a subfolder of the current dir on Windows 6065 # Fall back on a subfolder of the current dir on Windows
6066 mingw32 && _reallibdir="codecs" 6066 mingw32 && _realcodecsdir="codecs"
6067 done 6067 done
6068 fi 6068 fi
6069 test "$_reallibdir" && _real=yes 6069 test "$_realcodecsdir" && _real=yes
6070 fi 6070 fi
6071 fi 6071 fi
6072 fi 6072 fi
6073 if test "$_real" = yes ; then 6073 if test "$_real" = yes ; then
6074 _def_real='#define USE_REALCODECS 1' 6074 _def_real='#define USE_REALCODECS 1'
6075 _def_real_path="#define REALCODEC_PATH \"$_reallibdir\"" 6075 _def_real_path="#define REALCODEC_PATH \"$_realcodecsdir\""
6076 _codecmodules="real $_codecmodules" 6076 _codecmodules="real $_codecmodules"
6077 _res_comment="using $_reallibdir" 6077 _res_comment="using $_realcodecsdir"
6078 else 6078 else
6079 _def_real='#undef USE_REALCODECS' 6079 _def_real='#undef USE_REALCODECS'
6080 _def_real_path="#undef REALCODEC_PATH" 6080 _def_real_path="#undef REALCODEC_PATH"
6081 _nocodecmodules="real $_nocodecmodules" 6081 _nocodecmodules="real $_nocodecmodules"
6082 fi 6082 fi
7930 $_def_libpostproc 7930 $_def_libpostproc
7931 $_def_libpostproc_so 7931 $_def_libpostproc_so
7932 7932
7933 /* Win32 DLL support */ 7933 /* Win32 DLL support */
7934 $_def_win32 7934 $_def_win32
7935 #define WIN32_PATH "$_win32libdir" 7935 #define WIN32_PATH "$_win32codecsdir"
7936 7936
7937 /* Mac OS X specific features */ 7937 /* Mac OS X specific features */
7938 $_def_macosx 7938 $_def_macosx
7939 $_def_macosx_finder_support 7939 $_def_macosx_finder_support
7940 $_def_macosx_bundle 7940 $_def_macosx_bundle
8407 echo 8407 echo
8408 fi 8408 fi
8409 8409
8410 if x86; then 8410 if x86; then
8411 if test "$_win32" = no ; then 8411 if test "$_win32" = no ; then
8412 if test "$_win32libdir" ; then 8412 if test "$_win32codecsdir" ; then
8413 echo "Failed to find a Win32 codecs dir at $_win32libdir!" 8413 echo "Failed to find a Win32 codecs directory at $_win32codecsdir!"
8414 else 8414 else
8415 echo "Failed to find a Win32 codecs directory! (default: /usr/local/lib/codecs/)" 8415 echo "Failed to find a Win32 codecs directory! (default: /usr/local/lib/codecs/)"
8416 fi 8416 fi
8417 cat << EOF 8417 cat << EOF
8418 Create it and copy the DLL files there! You can download the codecs from our 8418 Create it and copy the DLL files there! You can download the codecs from our