Mercurial > mplayer.hg
comparison configure @ 6881:9a65f0b9421a
It all started with fixing a few dangling links...
... and ended in a spellchecking orgy...
... configure should now have reasonably correct output.
author | diego |
---|---|
date | Sat, 03 Aug 2002 22:48:41 +0000 |
parents | 80e2032480bd |
children | 1a747aee653b |
comparison
equal
deleted
inserted
replaced
6880:274310e0ecb4 | 6881:9a65f0b9421a |
---|---|
124 --libdir=DIR use this prefix for object code libraries | 124 --libdir=DIR use this prefix for object code libraries |
125 [PREFIX/lib] | 125 [PREFIX/lib] |
126 | 126 |
127 Optional features: | 127 Optional features: |
128 --disable-mencoder disable mencoder [autodetect] | 128 --disable-mencoder disable mencoder [autodetect] |
129 --enable-largefiles enable support for files >2^32 bytes long [disable] | 129 --enable-largefiles enable support for files > 2^32 Bytes [disable] |
130 --enable-linux-devfs set default devices to devfs ones [disable] | 130 --enable-linux-devfs set default devices to devfs ones [disable] |
131 --enable-termcap use termcap database for key codes [autodetect] | 131 --enable-termcap use termcap database for key codes [autodetect] |
132 --enable-lirc enable LIRC (remote control) support [autodetect] | 132 --enable-lirc enable LIRC (remote control) support [autodetect] |
133 --enable-gui enable GUI [disable] | 133 --enable-gui enable GUI [disable] |
134 --enable-png enable png support [autodetect] | 134 --enable-png enable png support [autodetect] |
143 --disable-real disable RealPlayer 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] |
149 --enable-vorbis build with OggVorbis support [autodetect] | 149 --enable-vorbis build with OggVorbis support [autodetect] |
150 --enable-faad build with FAAD (AAC) support [autodetect] | 150 --enable-faad build with FAAD (AAC) support [autodetect] |
151 --disable-iconv do not use iconv(3) function [autodetect] | 151 --disable-iconv do not use iconv(3) function [autodetect] |
152 --disable-rtc disable RTC (/dev/rtc) on Linux [autodetect] | 152 --disable-rtc disable RTC (/dev/rtc) on Linux [autodetect] |
153 --enable-mp1e enable libmp1e support [disable] | 153 --enable-mp1e enable libmp1e support [disable] |
201 --disable-select disable using select() on audio device [enable] | 201 --disable-select disable using select() on audio device [enable] |
202 | 202 |
203 Miscellaneous options: | 203 Miscellaneous options: |
204 --cc=COMPILER use this C compiler to build MPlayer [gcc] | 204 --cc=COMPILER use this C compiler to build MPlayer [gcc] |
205 --target=PLATFORM target platform (i386-linux, arm-linux, etc) | 205 --target=PLATFORM target platform (i386-linux, arm-linux, etc) |
206 --enable-static build a statically linked binary. If more linking | 206 --enable-static build a statically linked binary. Set further linking |
207 options needed : --enable-static="-lslang -lncurses" | 207 options with --enable-static="-lslang -lncurses" |
208 --language=xx select a language [en] | 208 --language=xx select a language [en] |
209 (Available: $LANGUAGES) | 209 (Available: $LANGUAGES) |
210 | 210 |
211 Advanced options: | 211 Advanced options: |
212 --enable-mmx build with mmx support [autodetect] | 212 --enable-mmx build with mmx support [autodetect] |
218 --disable-fastmemcpy disable 3dnow/sse/mmx optimized memcpy() [enable] | 218 --disable-fastmemcpy disable 3dnow/sse/mmx optimized memcpy() [enable] |
219 --enable-debug[=1-3] compile debugging information into mplayer [disable] | 219 --enable-debug[=1-3] compile debugging information into mplayer [disable] |
220 --enable-profile compile profiling information into mplayer [disable] | 220 --enable-profile compile profiling information into mplayer [disable] |
221 --disable-sighandler disable sighandler for crashes [enable] | 221 --disable-sighandler disable sighandler for crashes [enable] |
222 | 222 |
223 Hazardous options a.k.a. "DO NOT BUGREPORT ANYTHING !" | 223 Hazardous options a.k.a. "DO NOT REPORT ANY BUGS!" |
224 --disable-gcc-checking disable gcc version checking [enable] | 224 --disable-gcc-checking disable gcc version checking [enable] |
225 | 225 |
226 Use these options if autodetection fails: | 226 Use these options if autodetection fails: |
227 --with-extraincdir=DIR extra headers (png, dvb, mad, sdl, css, ...) in DIR | 227 --with-extraincdir=DIR extra headers (png, dvb, mad, sdl, css, ...) in DIR |
228 --with-extralibdir=DIR extra library files (png, SDL, ...) in DIR | 228 --with-extralibdir=DIR extra library files (png, SDL, ...) in DIR |
229 --with-x11incdir=DIR X headers in DIR | 229 --with-x11incdir=DIR X headers in DIR |
230 --with-x11libdir=DIR X library files in DIR | 230 --with-x11libdir=DIR X library files in DIR |
231 --with-dxr2incdir=DIR DXR2 headers in DIR | 231 --with-dxr2incdir=DIR DXR2 headers in DIR |
232 --with-csslibdir=DIR libcss in DIR | 232 --with-csslibdir=DIR libcss in DIR |
233 --with-madlibdir=DIR libmad (libmad shared lib.) in DIR | 233 --with-madlibdir=DIR libmad (libmad shared library) 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-reallibdir=DIR RealPlayer DLL files in DIR |
239 --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) |
240 --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) |
241 --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) |
242 --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) |
243 --with-dvdnav-config=PATH path to dvdnav-config | 243 --with-dvdnav-config=PATH path to dvdnav-config |
244 | 244 |
245 EOF | 245 EOF |
246 exit 0 | 246 exit 0 |
247 fi | 247 fi |
378 # FIXME: A lot of stuff is installed under /usr/local | 378 # FIXME: A lot of stuff is installed under /usr/local |
379 # NK: But we should never use this stuff implicitly since we call compiler | 379 # NK: But we should never use this stuff implicitly since we call compiler |
380 # from /usr we should be sure that there no effects from other compilers | 380 # from /usr we should be sure that there no effects from other compilers |
381 # (libraries) which might be installed into /usr/local. Let users use this | 381 # (libraries) which might be installed into /usr/local. Let users use this |
382 # stuff explicitly as command line argument. In other words: It would be | 382 # stuff explicitly as command line argument. In other words: It would be |
383 # resonable have or only /usr/include or only /usr/local/include. | 383 # resonable to have only /usr/include or only /usr/local/include. |
384 | 384 |
385 if freebsd ; then | 385 if freebsd ; then |
386 _ld_extra="$_ld_extra -L/usr/local/lib" | 386 _ld_extra="$_ld_extra -L/usr/local/lib" |
387 _inc_extra="$_inc_extra -I/usr/local/include" | 387 _inc_extra="$_inc_extra -I/usr/local/include" |
388 fi | 388 fi |
418 (test "$cc_verc_fail" = "no") && break | 418 (test "$cc_verc_fail" = "no") && break |
419 done | 419 done |
420 if test "$cc_verc_fail" = yes ; then | 420 if test "$cc_verc_fail" = yes ; then |
421 cat <<EOF | 421 cat <<EOF |
422 | 422 |
423 *** Please downgrade/upgrade C compiler to gcc-2.95.x or gcc-3.x version! *** | 423 *** Please downgrade/upgrade C compiler to version gcc-2.95.x or gcc-3.x! *** |
424 | 424 |
425 You are using a different compiler than ours. We do not have the time to make | 425 You are not using a supported compiler. We do not have the time to make sure |
426 sure everything works with compilers than the one we use. Use either use the | 426 everything works with compilers other than the ones we use. Use either the |
427 same compiler as ours, or use --disable-gcc-checking but DO *NOT* REPORT BUGS | 427 same compiler as we do, or use --disable-gcc-checking but DO *NOT* REPORT BUGS |
428 unless you can reproduce them after recompiling with 2.95.x or 3.0.x version! | 428 unless you can reproduce them after recompiling with a 2.95.x or 3.x version! |
429 | 429 |
430 Note for gcc 2.96 users: some versions of this compiler are known to miscompile | 430 Note for gcc 2.96 users: Some versions of this compiler are known to miscompile |
431 mplayer and lame (which is used for mencoder). If you get compile errors, | 431 mplayer and lame (which is used for mencoder). If you get compile errors, |
432 first upgrade to the latest 2.96 release (but minimum 2.96-85) and try again. | 432 first upgrade to the latest 2.96 release (minimum 2.96-85) and try again. |
433 If the problem still exists, try with gcc 3.0.x (or 2.95.x) *BEFORE* reporting | 433 If the problem still exists, try with gcc 3.x (or 2.95.x) *BEFORE* reporting |
434 bugs! | 434 bugs! |
435 | 435 |
436 GCC 2.96 IS NOT AND WILL NOT BE SUPPORTED BY US ! | 436 GCC 2.96 IS NOT AND WILL NOT BE SUPPORTED BY US ! |
437 | 437 |
438 *** For details please read DOCS/gcc-2.96-3.0.html *** | 438 *** For details please read DOCS/users_against_developers.html *** |
439 | 439 |
440 EOF | 440 EOF |
441 die "Bad gcc version" | 441 die "Bad gcc version" |
442 fi | 442 fi |
443 else | 443 else |
444 cat <<EOF | 444 cat <<EOF |
445 | 445 |
446 ****************************************************************************** | 446 ****************************************************************************** |
447 | 447 |
448 Hmm. You really want to compile MPlayer with an *UNSUPPORTED* C compiler? | 448 Hmm. You really want to compile MPlayer with an *UNSUPPORTED* C compiler? |
449 Ok. You know. Do it. But did you already read DOCS/gcc-2.96-3.0.html ??? | 449 Ok. You know. Do it. Did you already read DOCS/users_against_developers.html??? |
450 | 450 |
451 DO NOT SEND BUGREPORTS OR COMPLAIN, it's *YOUR* compiler's fault! | 451 DO NOT SEND BUGREPORTS OR COMPLAIN, it's *YOUR* compiler's fault! |
452 Get ready for mysterious crashes, no-picture bugs, strange noises... REALLY! | 452 Get ready for mysterious crashes, no-picture bugs, strange noises... REALLY! |
453 Lame which is used by mencoder produces weird errors, too. | 453 Lame which is used by mencoder produces weird errors, too. |
454 | 454 |
455 If you have any problem, then install GCC 2.95.x or 3.x version and try again. | 455 If you have any problem, install a GCC 2.95.x or 3.x version and try again. |
456 If the problem _still_ exists, then read DOCS/bugreports.html ! | 456 If the problem _still_ exists, then read DOCS/bugreports.html ! |
457 | 457 |
458 *** DO NOT SEND BUGREPORTS OR COMPLAIN it's *YOUR* compiler's fault! *** | 458 *** DO NOT SEND BUG REPORTS OR COMPLAIN it's *YOUR* compiler's fault! *** |
459 | 459 |
460 ****************************************************************************** | 460 ****************************************************************************** |
461 | 461 |
462 EOF | 462 EOF |
463 | 463 |
838 _mcpu='' | 838 _mcpu='' |
839 ;; | 839 ;; |
840 | 840 |
841 *) | 841 *) |
842 echo "The architecture of your CPU ($host_arch) is not supported by this configure script" | 842 echo "The architecture of your CPU ($host_arch) is not supported by this configure script" |
843 echo "It seems noone has ported MPlayer to your OS or CPU type yet." | 843 echo "It seems nobody has ported MPlayer to your OS or CPU type yet." |
844 die "unsupported architecture $host_arch" | 844 die "unsupported architecture $host_arch" |
845 ;; | 845 ;; |
846 esac | 846 esac |
847 | 847 |
848 | 848 |
1323 if test "$_k_verc_problem" = yes && test "$_sse" = yes ; then | 1323 if test "$_k_verc_problem" = yes && test "$_sse" = yes ; then |
1324 _k_verc_fail=yes | 1324 _k_verc_fail=yes |
1325 fi | 1325 fi |
1326 if test "$_k_verc_fail" ; then | 1326 if test "$_k_verc_fail" ; then |
1327 echores "$kernel_version, fail" | 1327 echores "$kernel_version, fail" |
1328 echo "WARNING! If you want to run mplayer on this system, get prepared for problems!" | 1328 echo "WARNING! If you want to run MPlayer on this system, get prepared for problems!" |
1329 echo "2.2.x has limited SSE support. Upgrade kernel or use --disable-sse if you" | 1329 echo "2.2.x has limited SSE support. Upgrade the kernel or use --disable-sse if you" |
1330 echo "experience crashes. MPlayer tries to autodetect if your kernel correctly supports" | 1330 echo "experience crashes. MPlayer tries to autodetect if your kernel correctly" |
1331 echo "SSE, but you have been warned! If you are using kernel older than 2.2.x you must" | 1331 echo "supports SSE, but you have been warned! If you are using a kernel older than" |
1332 echo "upgrade it to get SSE support!" | 1332 echo "2.2.x you must upgrade it to get SSE support!" |
1333 # die "old kernel for this cpu" # works fine on some 2.2.x so don't die (later check will test) | 1333 # die "old kernel for this cpu" # works fine on some 2.2.x so don't die (later check will test) |
1334 else | 1334 else |
1335 echores "$kernel_version, ok" | 1335 echores "$kernel_version, ok" |
1336 fi | 1336 fi |
1337 fi | 1337 fi |
1356 fi | 1356 fi |
1357 done | 1357 done |
1358 test "$_awk_verc_fail" = yes && _awk=no | 1358 test "$_awk_verc_fail" = yes && _awk=no |
1359 echores "$_awk" | 1359 echores "$_awk" |
1360 if test "$_awk_verc_fail" = yes; then | 1360 if test "$_awk_verc_fail" = yes; then |
1361 echo "VIDIX needs Awk, but there was no working implementation found!" | 1361 echo "VIDIX needs awk, but no working implementation was found!" |
1362 echo "Try the GNU implementation, which can be downloaded from:" | 1362 echo "Try the GNU version, which can be downloaded from:" |
1363 echo "ftp://ftp.gnu.org/gnu/gawk/" | 1363 echo "ftp://ftp.gnu.org/gnu/gawk/" |
1364 echo "If you don't need vidix, you can use configure --disable-vidix instead." | 1364 echo "If you don't need VIDIX, you can use configure --disable-vidix instead." |
1365 die "no awk" | 1365 die "no awk" |
1366 fi | 1366 fi |
1367 fi | 1367 fi |
1368 | 1368 |
1369 | 1369 |
1543 cc_check && _inttypes=yes | 1543 cc_check && _inttypes=yes |
1544 if test "$_inttypes" = yes ; then | 1544 if test "$_inttypes" = yes ; then |
1545 # nothing to do | 1545 # nothing to do |
1546 : | 1546 : |
1547 else | 1547 else |
1548 die "cannot find header inttypes.h (see in DOCS/faq.html)" | 1548 die "cannot find header inttypes.h (see DOCS/faq.html)" |
1549 fi | 1549 fi |
1550 echores "$_inttypes" | 1550 echores "$_inttypes" |
1551 | 1551 |
1552 | 1552 |
1553 echocheck "stddef.h" | 1553 echocheck "stddef.h" |
1648 fi | 1648 fi |
1649 echores "$_dl" | 1649 echores "$_dl" |
1650 | 1650 |
1651 | 1651 |
1652 #echocheck "dynamic linking" | 1652 #echocheck "dynamic linking" |
1653 # FIXME !! make this dynamic detection to work and modify at the end (search _ld_dl_dynamic) | 1653 # FIXME !! make this dynamic detection work and modify at the end (search _ld_dl_dynamic) |
1654 # also gcc flags are different, but ld flags aren't (-Bdynamic/-Bstatic/-Bsymbolic) | 1654 # also gcc flags are different, but ld flags aren't (-Bdynamic/-Bstatic/-Bsymbolic) |
1655 #cat > $TMPC << EOF | 1655 #cat > $TMPC << EOF |
1656 #int main(void) { return 0; } | 1656 #int main(void) { return 0; } |
1657 #EOF | 1657 #EOF |
1658 #if cc_check -rdynamic ; then | 1658 #if cc_check -rdynamic ; then |
1683 if ( cc_check -lpthread ) ; then | 1683 if ( cc_check -lpthread ) ; then |
1684 _ld_pthread='-lpthread' | 1684 _ld_pthread='-lpthread' |
1685 elif ( cc_check -pthread ) ; then | 1685 elif ( cc_check -pthread ) ; then |
1686 _ld_pthread='-pthread' | 1686 _ld_pthread='-pthread' |
1687 else | 1687 else |
1688 die "Static lib pthread not found. (needed by windows and networking stuff)" | 1688 die "Static lib pthread not found (needed by Windows and networking stufff)." |
1689 fi | 1689 fi |
1690 else | 1690 else |
1691 die "Lib pthread not found. (needed by windows and networking stuff)" | 1691 die "Lib pthread not found (needed by Windows and networking stuff)." |
1692 fi | 1692 fi |
1693 fi | 1693 fi |
1694 echores "yes (using $_ld_pthread)" | 1694 echores "yes (using $_ld_pthread)" |
1695 | 1695 |
1696 | 1696 |
3290 echores "no" | 3290 echores "no" |
3291 cat << EOF | 3291 cat << EOF |
3292 | 3292 |
3293 Your C++ runtime environment is broken. | 3293 Your C++ runtime environment is broken. |
3294 | 3294 |
3295 Hints: Does $_cc support C++ ? Have you a C++ compiler installed ? | 3295 Hints: Does $_cc support C++? Do you have you a C++ compiler installed? |
3296 Are the C++ libraries correctly installed ? | 3296 Are the C++ libraries correctly installed? |
3297 Check for libstdc++ and in (/etc/)ld.so.conf | 3297 Check for libstdc++ and in (/etc/)ld.so.conf. |
3298 | 3298 |
3299 If you do not need DirectShow support, you can also use: | 3299 If you do not need DirectShow support, you can also use: |
3300 ./configure --disable-dshow <your-normal-configure-options> | 3300 ./configure --disable-dshow <your-normal-configure-options> |
3301 to disable building of the C++ based DirectShow code. | 3301 to disable building the C++ based DirectShow code. |
3302 | 3302 |
3303 EOF | 3303 EOF |
3304 die "$_cc's C++ is broken" | 3304 die "$_cc's C++ is broken" |
3305 fi | 3305 fi |
3306 fi | 3306 fi |
3918 _stripbinaries=no | 3918 _stripbinaries=no |
3919 fi | 3919 fi |
3920 else | 3920 else |
3921 cat <<EOF | 3921 cat <<EOF |
3922 | 3922 |
3923 MPlayer compilation will use CFLAGS set by you, but: | 3923 MPlayer compilation will use the CFLAGS set by you, but: |
3924 | 3924 |
3925 *** *** DO NOT BUGREPORT IF IT DOES NOT COMPILE/WORK! *** *** | 3925 *** *** DO NOT REPORT BUGS IF IT DOES NOT COMPILE/WORK! *** *** |
3926 | 3926 |
3927 It is strongly recommended you let MPlayer choose the correct CFLAGS! | 3927 It is strongly recommended to let MPlayer choose the correct CFLAGS! |
3928 To do so, execute 'CFLAGS= ./configure <options>' | 3928 To do so, execute 'CFLAGS= ./configure <options>' |
3929 | 3929 |
3930 EOF | 3930 EOF |
3931 fi | 3931 fi |
3932 if darwin ; then | 3932 if darwin ; then |
4170 echo "Creating config.h" | 4170 echo "Creating config.h" |
4171 cat > config.h << EOF | 4171 cat > config.h << EOF |
4172 /* -------- This file has been automatically generated by configure --------- | 4172 /* -------- This file has been automatically generated by configure --------- |
4173 Note: Any changes in it will be lost when you run configure again. */ | 4173 Note: Any changes in it will be lost when you run configure again. */ |
4174 | 4174 |
4175 /* use GNU internationalisation */ | 4175 /* use GNU internationalization */ |
4176 $_def_i18n | 4176 $_def_i18n |
4177 | 4177 |
4178 /* Runtime Cpudetection */ | 4178 /* Runtime CPU detection */ |
4179 $_def_runtime_cpudetection | 4179 $_def_runtime_cpudetection |
4180 | 4180 |
4181 /* "restrict" keyword */ | 4181 /* "restrict" keyword */ |
4182 #define restrict $_def_restrict_keyword | 4182 #define restrict $_def_restrict_keyword |
4183 | 4183 |
4222 #define USE_STREAM_CACHE 1 | 4222 #define USE_STREAM_CACHE 1 |
4223 | 4223 |
4224 /* Define to include support for XviD/Divx4Linux/OpenDivx */ | 4224 /* Define to include support for XviD/Divx4Linux/OpenDivx */ |
4225 $_def_divx | 4225 $_def_divx |
4226 | 4226 |
4227 /* Define for using new XviD/DivX4Linux library, instead of open-source OpenDivX */ | 4227 /* Define to use the new XviD/DivX4Linux library instead of open source OpenDivX */ |
4228 /* You have to change DECORE_LIBS in config.mak too! */ | 4228 /* You have to change DECORE_LIBS in config.mak, too! */ |
4229 $_def_decore | 4229 $_def_decore |
4230 | 4230 |
4231 /* Define if you are using DivX5Linux Decore library */ | 4231 /* Define if you are using DivX5Linux Decore library */ |
4232 $_def_divx5 | 4232 $_def_divx5 |
4233 | 4233 |
4258 (use -bps or -nobps commandline option for run-time method selection) | 4258 (use -bps or -nobps commandline option for run-time method selection) |
4259 -bps gives better sync for vbr mp3 audio, it is now default */ | 4259 -bps gives better sync for vbr mp3 audio, it is now default */ |
4260 #define AVI_SYNC_BPS 1 | 4260 #define AVI_SYNC_BPS 1 |
4261 | 4261 |
4262 /* Undefine this if you do not want to select mono audio (left or right) | 4262 /* Undefine this if you do not want to select mono audio (left or right) |
4263 with a stereo MPEG layer 2/3 audio stream. The command-line option | 4263 with a stereo MPEG layer 2/3 audio stream. The command line option |
4264 -stereo has three possible values (0 for stereo, 1 for left-only, 2 for | 4264 -stereo has three possible values (0 for stereo, 1 for left-only, 2 for |
4265 right-only), with 0 being the default. | 4265 right-only), with 0 being the default. |
4266 */ | 4266 */ |
4267 #define USE_FAKE_MONO 1 | 4267 #define USE_FAKE_MONO 1 |
4268 | 4268 |
4269 /* Undefine this if your soundcard driver has no working select(). | 4269 /* Undefine this if your sound card driver has no working select(). |
4270 If you have kernel Oops, player hangups, or just no audio, you should | 4270 If you have kernel Oops, player hangups, or just no audio, you should |
4271 try to recompile MPlayer with this option disabled! */ | 4271 try to recompile MPlayer with this option disabled! */ |
4272 $_def_select | 4272 $_def_select |
4273 | 4273 |
4274 /* define this to use iconv(3) function to codepage conversions */ | 4274 /* define this to use iconv(3) function to codepage conversions */ |
4284 #define OUTBURST 512 | 4284 #define OUTBURST 512 |
4285 | 4285 |
4286 /* Define this if your system has the header file for the OSS sound interface */ | 4286 /* Define this if your system has the header file for the OSS sound interface */ |
4287 $_def_sys_soundcard | 4287 $_def_sys_soundcard |
4288 | 4288 |
4289 /* Define this if you system has the header file for the OSS sound interface | 4289 /* Define this if your system has the header file for the OSS sound interface |
4290 * in /usr/include */ | 4290 * in /usr/include */ |
4291 $_def_soundcard | 4291 $_def_soundcard |
4292 | 4292 |
4293 /* Define this if your system uses ftello() for off_t seeking */ | 4293 /* Define this if your system uses ftello() for off_t seeking */ |
4294 | 4294 |
4337 $_def_css | 4337 $_def_css |
4338 | 4338 |
4339 /* DVD navigation support using libdvdnav */ | 4339 /* DVD navigation support using libdvdnav */ |
4340 $_def_dvdnav | 4340 $_def_dvdnav |
4341 | 4341 |
4342 /* Define this to enable MPEG 1/2 image postprocessing (requires FAST cpu!) */ | 4342 /* Define this to enable MPEG 1/2 image postprocessing (requires a FAST CPU!) */ |
4343 #define MPEG12_POSTPROC 1 | 4343 #define MPEG12_POSTPROC 1 |
4344 | 4344 |
4345 /* Define this to enable image postprocessing in libavcodec (requires FAST cpu!) */ | 4345 /* Define this to enable image postprocessing in libavcodec (requires a FAST CPU!) */ |
4346 $_def_ffpostprocess | 4346 $_def_ffpostprocess |
4347 | 4347 |
4348 /* Define to include support for OpenDivx postprocessing */ | 4348 /* Define to include support for OpenDivx postprocessing */ |
4349 $_def_odivx_postprocess | 4349 $_def_odivx_postprocess |
4350 | 4350 |
4619 Codecs: $_nocodecmodules | 4619 Codecs: $_nocodecmodules |
4620 Audio output: $_noaomodules | 4620 Audio output: $_noaomodules |
4621 Video output: $_novomodules | 4621 Video output: $_novomodules |
4622 | 4622 |
4623 'config.h' and 'config.mak' contain your configuration options. | 4623 'config.h' and 'config.mak' contain your configuration options. |
4624 Note: if you alter theses files (for instance CFLAGS) MPlayer may no longer | 4624 Note: If you alter theses files (for instance CFLAGS) MPlayer may no longer |
4625 compile *** DON'T BUGREPORT if you tweak these files *** | 4625 compile *** DO NOT REPORT BUGS if you tweak these files *** |
4626 | 4626 |
4627 'make' will now compile MPlayer and 'make install' will install it. | 4627 'make' will now compile MPlayer and 'make install' will install it. |
4628 Note: On non-Linux systems you might need to use 'gmake' instead of 'make'. | 4628 Note: On non-Linux systems you might need to use 'gmake' instead of 'make'. |
4629 | 4629 |
4630 EOF | 4630 EOF |
4631 | 4631 |
4632 | 4632 |
4633 if test "$_mtrr" = yes ; then | 4633 if test "$_mtrr" = yes ; then |
4634 echo "Please check mtrr settings at /proc/mtrr (see DOCS/video.html#2.2.1.1)" | 4634 echo "Please check mtrr settings at /proc/mtrr (see DOCS/video.html#mtrr)" |
4635 echo | 4635 echo |
4636 fi | 4636 fi |
4637 | 4637 |
4638 if test "$_sdl" = "outdated" ; then | 4638 if test "$_sdl" = "outdated" ; then |
4639 cat <<EOF | 4639 cat <<EOF |
4641 support has therefore been disabled. | 4641 support has therefore been disabled. |
4642 | 4642 |
4643 Please upgrade to a more recent version (version 1.1.8 and above are known to | 4643 Please upgrade to a more recent version (version 1.1.8 and above are known to |
4644 work). You may get this library from: http://www.libsdl.org | 4644 work). You may get this library from: http://www.libsdl.org |
4645 | 4645 |
4646 You need to re-run ./configure and recompile after updating SDL. If you are | 4646 You need to rerun ./configure and recompile after updating SDL. If you are |
4647 only interested in the libSDL audio drivers, then older version might work. | 4647 only interested in the libSDL audio drivers, then an older version might work. |
4648 | 4648 |
4649 Use --enable-sdl to force usage of libSDL. | 4649 Use --enable-sdl to force usage of libSDL. |
4650 | 4650 |
4651 EOF | 4651 EOF |
4652 fi | 4652 fi |
4666 if test "$_win32libdir" ; then | 4666 if test "$_win32libdir" ; then |
4667 # echo "Ok, found Win32 codecs directory at $_win32libdir." | 4667 # echo "Ok, found Win32 codecs directory at $_win32libdir." |
4668 : | 4668 : |
4669 else | 4669 else |
4670 cat <<EOF | 4670 cat <<EOF |
4671 Failed to find a WIN32 codecs dir! | 4671 Failed to find a WIN32 codecs directory! |
4672 Create it and copy the DLL files there! (You can get them from your windows | 4672 Create it and copy the DLL files there! (You can get them from your Windows |
4673 directory or download them from: | 4673 directory or download them from: |
4674 ftp://ftp.MPlayerHQ.hu/MPlayer/releases/w32codec.zip | 4674 ftp://ftp.MPlayerHQ.hu/MPlayer/releases/w32codec.zip |
4675 | 4675 |
4676 EOF | 4676 EOF |
4677 fi | 4677 fi |
4678 fi | 4678 fi |
4679 else | 4679 else |
4680 cat <<EOF | 4680 cat <<EOF |
4681 NOTE: WIN32 codec DLLs are not supported on your CPU ($host_arch). | 4681 NOTE: WIN32 codec DLLs are not supported on your CPU ($host_arch). |
4682 You may encounter a few AVI files that cannot be played due to missing | 4682 You may encounter a few AVI files that cannot be played due to missing |
4683 opensource video/audio codec support. | 4683 open source video/audio codec support. |
4684 | 4684 |
4685 EOF | 4685 EOF |
4686 fi | 4686 fi |
4687 | 4687 |
4688 | 4688 |