Mercurial > mplayer.hg
comparison configure @ 8642:30bb40f02e1e
Win32 DLLs and OpenGL do not work on Cygwin. Automatically disable them and
update the documentation accordingly, plus some spellchecking cosmetics.
author | diego |
---|---|
date | Sun, 29 Dec 2002 19:58:56 +0000 |
parents | b9927004eacc |
children | 9032b2e79480 |
comparison
equal
deleted
inserted
replaced
8641:8ceb8a8b7244 | 8642:30bb40f02e1e |
---|---|
212 --disable-ossaudio disable OSS sound support [autodetect] | 212 --disable-ossaudio disable OSS sound support [autodetect] |
213 --disable-arts disable aRts sound support [autodetect] | 213 --disable-arts disable aRts sound support [autodetect] |
214 --disable-esd disable esd sound support [autodetect] | 214 --disable-esd disable esd sound support [autodetect] |
215 --disable-alsa disable alsa sound support [autodetect] | 215 --disable-alsa disable alsa sound support [autodetect] |
216 --disable-sunaudio disable Sun sound support [autodetect] | 216 --disable-sunaudio disable Sun sound support [autodetect] |
217 --disable-win32waveout disable windows waveout sound support [autodetect] | 217 --disable-win32waveout disable Windows waveout sound support [autodetect] |
218 --disable-select disable using select() on audio device [enable] | 218 --disable-select disable using select() on audio device [enable] |
219 | 219 |
220 Miscellaneous options: | 220 Miscellaneous options: |
221 --enable-runtime-cpudetection Enable runtime CPU detection [disable] | 221 --enable-runtime-cpudetection Enable runtime CPU detection [disable] |
222 --cc=COMPILER use this C compiler to build MPlayer [gcc] | 222 --cc=COMPILER use this C compiler to build MPlayer [gcc] |
2546 die "DGA version must be 1 or 2" | 2546 die "DGA version must be 1 or 2" |
2547 fi | 2547 fi |
2548 | 2548 |
2549 | 2549 |
2550 echocheck "OpenGL" | 2550 echocheck "OpenGL" |
2551 cygwin && _gl=no | |
2551 #Note: this test is run even with --enable-gl since we autodetect $_ld_gl | 2552 #Note: this test is run even with --enable-gl since we autodetect $_ld_gl |
2552 if test "$_x11" = yes && test "$_gl" != no ; then | 2553 if test "$_x11" = yes && test "$_gl" != no ; then |
2553 cat > $TMPC << EOF | 2554 cat > $TMPC << EOF |
2554 #include <GL/gl.h> | 2555 #include <GL/gl.h> |
2555 int main(void) { return 0; } | 2556 int main(void) { return 0; } |
3005 _novomodules="sdl $_novomodules" | 3006 _novomodules="sdl $_novomodules" |
3006 _noaomodules="sdl $_noaomodules" | 3007 _noaomodules="sdl $_noaomodules" |
3007 echores "no" | 3008 echores "no" |
3008 fi | 3009 fi |
3009 | 3010 |
3010 echocheck "windows waveout" | 3011 echocheck "Windows waveout" |
3011 if test "$_win32waveout" = auto ; then | 3012 if test "$_win32waveout" = auto ; then |
3012 cat > $TMPC << EOF | 3013 cat > $TMPC << EOF |
3013 #include <windows.h> | 3014 #include <windows.h> |
3014 #include <mmsystem.h> | 3015 #include <mmsystem.h> |
3015 int main(void) { return 0; } | 3016 int main(void) { return 0; } |
3735 echores "$_faad" | 3736 echores "$_faad" |
3736 | 3737 |
3737 | 3738 |
3738 echocheck "Win32 DLL support" | 3739 echocheck "Win32 DLL support" |
3739 qnx && _win32=no | 3740 qnx && _win32=no |
3741 cygwin && _win32="Win32 DLLs not supported under Cygwin" | |
3740 if test "$_win32" = auto ; then | 3742 if test "$_win32" = auto ; then |
3741 _win32=no | 3743 _win32=no |
3742 if x86 ; then | 3744 if x86 ; then |
3743 if test -z "$_win32libdir" ; then | 3745 if test -z "$_win32libdir" ; then |
3744 for I in "$_libdir/win32" /usr/local/lib/win32 /usr/lib/win32 ; do | 3746 for I in "$_libdir/win32" /usr/local/lib/win32 /usr/lib/win32 ; do |
3762 fi | 3764 fi |
3763 else | 3765 else |
3764 _def_win32='#undef USE_WIN32DLL' | 3766 _def_win32='#undef USE_WIN32DLL' |
3765 _nocodecmodules="win32 $_nocodecmodules" | 3767 _nocodecmodules="win32 $_nocodecmodules" |
3766 _dshow=no | 3768 _dshow=no |
3767 echores "no" | 3769 echores "$_win32" |
3768 fi | 3770 fi |
3769 | 3771 |
3770 | 3772 |
3771 echocheck "DirectShow" | 3773 echocheck "DirectShow" |
3772 if false ; then | 3774 if false ; then |
5396 Use --enable-sdl to force usage of libSDL. | 5398 Use --enable-sdl to force usage of libSDL. |
5397 | 5399 |
5398 EOF | 5400 EOF |
5399 fi | 5401 fi |
5400 | 5402 |
5401 if x86 ; then | 5403 if x86 && ! cygwin; then |
5402 if test "$_win32" = no ; then | 5404 if test "$_win32" = no ; then |
5403 if test "$_win32libdir" ; then | 5405 if test "$_win32libdir" ; then |
5404 cat <<EOF | 5406 cat <<EOF |
5405 Failed to find a WIN32 codecs dir at $_win32libdir! | 5407 Failed to find a Win32 codecs dir at $_win32libdir! |
5406 Create it and copy the DLL files there! (You can get them from your windows | 5408 Create it and copy the DLL files there! (You can get them from your Windows |
5407 directory or download them from: | 5409 directory or download them from: |
5408 ftp://ftp.MPlayerHQ.hu/MPlayer/releases/w32codec.tar.bz2 | 5410 ftp://ftp.MPlayerHQ.hu/MPlayer/releases/w32codec.tar.bz2 |
5409 | 5411 |
5410 EOF | 5412 EOF |
5411 fi | 5413 fi |
5413 if test "$_win32libdir" ; then | 5415 if test "$_win32libdir" ; then |
5414 # echo "Ok, found Win32 codecs directory at $_win32libdir." | 5416 # echo "Ok, found Win32 codecs directory at $_win32libdir." |
5415 : | 5417 : |
5416 else | 5418 else |
5417 cat <<EOF | 5419 cat <<EOF |
5418 Failed to find a WIN32 codecs directory! | 5420 Failed to find a Win32 codecs directory! |
5419 Create it and copy the DLL files there! (You can get them from your Windows | 5421 Create it and copy the DLL files there! (You can get them from your Windows |
5420 directory or download them from: | 5422 directory or download them from: |
5421 ftp://ftp.MPlayerHQ.hu/MPlayer/releases/w32codec.tar.bz2 | 5423 ftp://ftp.MPlayerHQ.hu/MPlayer/releases/w32codec.tar.bz2 |
5422 | 5424 |
5423 EOF | 5425 EOF |
5424 fi | 5426 fi |
5425 fi | 5427 fi |
5426 else | 5428 else |
5427 cat <<EOF | 5429 cat <<EOF |
5428 NOTE: WIN32 codec DLLs are not supported on your CPU ($host_arch). | 5430 NOTE: Win32 codec DLLs are not supported on your CPU ($host_arch) or your |
5431 operating system ($system_name). Why don't you help us port it? | |
5429 You may encounter a few AVI files that cannot be played due to missing | 5432 You may encounter a few AVI files that cannot be played due to missing |
5430 open source video/audio codec support. | 5433 Open Source video/audio codec support. |
5431 | 5434 |
5432 EOF | 5435 EOF |
5433 fi | 5436 fi |
5434 | 5437 |
5435 | 5438 |
5436 cat <<EOF | 5439 cat <<EOF |
5437 | 5440 |
5438 Check $TMPLOG if you wonder why an autodetection failed (check whether the | 5441 Check $TMPLOG if you wonder why an autodetection failed (check whether |
5439 development headers/packages are installed). | 5442 the development headers/packages are installed). |
5440 | 5443 |
5441 If you suspect a bug, please read DOCS/bugreports.html. | 5444 If you suspect a bug, please read DOCS/bugreports.html. |
5442 | 5445 |
5443 EOF | 5446 EOF |
5444 | 5447 |