Mercurial > mplayer.hg
comparison configure @ 6404:83b3315c679b
Implement Nilmoni's and Bernd Ernesti's patches for:
Better real codec dir detection and NetBSD real support.
Fix Nilmonis code, so it's working like expected.
Move a debug printf to mp_msg and some fixes in demux_real.c.
Some cosmetics :) -> RealPlayer 8 to RealPlayer, as RealOne (aka RealPlayer 9 works, too)
author | atmos4 |
---|---|
date | Thu, 13 Jun 2002 00:14:28 +0000 |
parents | 57e4ced19a03 |
children | 2093575b97b1 |
comparison
equal
deleted
inserted
replaced
6403:c0f189e49ee4 | 6404:83b3315c679b |
---|---|
138 --disable-tv-v4l disable Video 4 Linux TV Interface support [autodetect] | 138 --disable-tv-v4l disable Video 4 Linux TV Interface support [autodetect] |
139 --disable-tv-bsdbt848 disable BSD BT848 Interface support [autodetect] | 139 --disable-tv-bsdbt848 disable BSD BT848 Interface support [autodetect] |
140 --disable-win32 disable Win32 DLL support [autodetect] | 140 --disable-win32 disable Win32 DLL support [autodetect] |
141 --disable-dshow disable DirectShow support [autodetect] | 141 --disable-dshow disable DirectShow support [autodetect] |
142 --disable-xanim disable XAnim DLL support [autodetect] | 142 --disable-xanim disable XAnim DLL support [autodetect] |
143 --disable-real disable RealPlayer8 DLL support [autodetect] | 143 --disable-real disable RealPlayer DLL support [autodetect] |
144 --disable-xvid disable XviD codec [autodetect] | 144 --disable-xvid disable XviD codec [autodetect] |
145 --disable-divx4linux disable DivX4linux codec [autodetect] | 145 --disable-divx4linux disable DivX4linux codec [autodetect] |
146 --enable-opendivx enable _old_ OpenDivx codec [disable] | 146 --enable-opendivx enable _old_ OpenDivx codec [disable] |
147 --disable-libavcodec disable libavcodec [autodetect] | 147 --disable-libavcodec disable libavcodec [autodetect] |
148 --enable-libfame enable libfame realtime-encoder [autodetect] | 148 --enable-libfame enable libfame realtime-encoder [autodetect] |
233 --with-madlibdir=DIR libmad (libmad shared lib.) in DIR | 233 --with-madlibdir=DIR libmad (libmad shared lib.) in DIR |
234 --with-mlibdir=DIR libmlib (MLIB support) in DIR (Solaris only) | 234 --with-mlibdir=DIR libmlib (MLIB support) in DIR (Solaris only) |
235 --with-libdvdnav=DIR libdvdnav in DIR | 235 --with-libdvdnav=DIR libdvdnav in DIR |
236 --with-win32libdir=DIR W*ndows DLL files in DIR | 236 --with-win32libdir=DIR W*ndows DLL files in DIR |
237 --with-xanimlibdir=DIR XAnim DLL files in DIR | 237 --with-xanimlibdir=DIR XAnim DLL files in DIR |
238 --with-reallibdir=DIR RealPlayer DLL files in DIR | |
238 --with-xvidcore=PATH path to XviD libcore.a (e.g: /opt/lib/libcore.a) | 239 --with-xvidcore=PATH path to XviD libcore.a (e.g: /opt/lib/libcore.a) |
239 --with-sdl-config=PATH path to sdl*-config (e.g.: /opt/bin/sdl-config) | 240 --with-sdl-config=PATH path to sdl*-config (e.g.: /opt/bin/sdl-config) |
240 --with-gtk-config=PATH path to gtk*-config (e.g.: /opt/bin/gtk-config) | 241 --with-gtk-config=PATH path to gtk*-config (e.g.: /opt/bin/gtk-config) |
241 --with-glib-config=PATH path to glib*-config (e.g.: /opt/bin/glib-config) | 242 --with-glib-config=PATH path to glib*-config (e.g.: /opt/bin/glib-config) |
242 | 243 |
1082 ;; | 1083 ;; |
1083 --with-xanimlibdir=*) | 1084 --with-xanimlibdir=*) |
1084 _xanimlibdir=`echo $ac_option | cut -d '=' -f 2` | 1085 _xanimlibdir=`echo $ac_option | cut -d '=' -f 2` |
1085 _xanim=yes | 1086 _xanim=yes |
1086 ;; | 1087 ;; |
1088 --with-reallibdir=*) | |
1089 _reallibdir=`echo $ac_option | cut -d '=' -f 2` | |
1090 _real=yes | |
1091 ;; | |
1087 --with-csslibdir=*) | 1092 --with-csslibdir=*) |
1088 _csslibdir=`echo $ac_option | cut -d '=' -f 2` | 1093 _csslibdir=`echo $ac_option | cut -d '=' -f 2` |
1089 _css=yes | 1094 _css=yes |
1090 ;; | 1095 ;; |
1091 --with-mlibdir=*) | 1096 --with-mlibdir=*) |
3250 _def_xanim='#undef USE_XANIM' | 3255 _def_xanim='#undef USE_XANIM' |
3251 _def_xanim_path='#undef XACODEC_PATH' | 3256 _def_xanim_path='#undef XACODEC_PATH' |
3252 _nocodecmodules="xanim $_nocodecmodules" | 3257 _nocodecmodules="xanim $_nocodecmodules" |
3253 fi | 3258 fi |
3254 | 3259 |
3255 echocheck "RealPlayer8 DLL" | 3260 echocheck "RealPlayer DLL" |
3256 if test "$_real" = auto ; then | 3261 if test "$_real" = auto ; then |
3257 _real=no | 3262 _real=no |
3258 if test "$_dl" = yes ; then | 3263 if test "$_dl" = yes ; then |
3259 if linux ; then | 3264 if linux ; then |
3260 _real=yes | 3265 _real=yes |
3261 echores "yes" | |
3262 elif freebsd ; then | 3266 elif freebsd ; then |
3263 _real=yes | 3267 _real=yes |
3264 echores "yes" | 3268 elif netbsd ; then |
3269 _real=yes | |
3265 else | 3270 else |
3266 echores "no (tested only on Linux and FreeBSD arch)" | 3271 echores "no (tested only on Linux/FreeBSD/NetBSD)" |
3272 fi | |
3273 if test "$_real" = yes ; then | |
3274 if test -z "$_reallibdir" ; then | |
3275 for I in /usr/lib/real /usr/lib/RealPlayer*/Codecs ; do | |
3276 if test -d "$I" ; then | |
3277 _reallibdir="$I" | |
3278 break; | |
3279 fi; | |
3280 done | |
3281 fi | |
3282 fi | |
3283 test "$_reallibdir" || _real=no | |
3284 if test "$_real" = yes ; then | |
3285 echores "yes (using $_reallibdir)" | |
3286 else | |
3287 echores "no (no suitable directory found - see DOCS/codecs.html)" | |
3267 fi | 3288 fi |
3268 else | 3289 else |
3269 echores "no (dynamic loader support needed)" | 3290 echores "no (dynamic loader support needed)" |
3270 fi | 3291 fi |
3271 else | 3292 else |
3272 echores "$_real" | 3293 echores "$_real" |
3273 fi | 3294 fi |
3274 if test "$_real" = yes ; then | 3295 if test "$_real" = yes ; then |
3275 _def_real='#define USE_REALCODECS 1' | 3296 _def_real='#define USE_REALCODECS 1' |
3297 _def_real_path="#define REALCODEC_PATH \"$_reallibdir\"" | |
3276 _codecmodules="real $_codecmodules" | 3298 _codecmodules="real $_codecmodules" |
3277 else | 3299 else |
3278 _def_real='#undef USE_REALCODECS' | 3300 _def_real='#undef USE_REALCODECS' |
3301 _def_real_path="#undef REALCODEC_PATH" | |
3279 _nocodecmodules="real $_nocodecmodules" | 3302 _nocodecmodules="real $_nocodecmodules" |
3280 fi | 3303 fi |
3281 | 3304 |
3282 | 3305 |
3283 echocheck "iconv" | 3306 echocheck "iconv" |
4216 /* Default search path */ | 4239 /* Default search path */ |
4217 $_def_xanim_path | 4240 $_def_xanim_path |
4218 | 4241 |
4219 /* RealPlayer DLL support */ | 4242 /* RealPlayer DLL support */ |
4220 $_def_real | 4243 $_def_real |
4244 /* Default search path */ | |
4245 $_def_real_path | |
4221 | 4246 |
4222 /* Use 3dnow/mmxext/sse/mmx optimized fast memcpy() [maybe buggy... signal 4]*/ | 4247 /* Use 3dnow/mmxext/sse/mmx optimized fast memcpy() [maybe buggy... signal 4]*/ |
4223 $_def_fastmemcpy | 4248 $_def_fastmemcpy |
4224 | 4249 |
4225 /* gui support, please do not edit this option */ | 4250 /* gui support, please do not edit this option */ |