summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-12-29 19:58:56 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-12-29 19:58:56 +0000
commitbde111ee2150ff2ad328af4c4e73046f74039cf9 (patch)
tree86d61e78d2a7857e0b72692f8b519bb2f8ec92ae /configure
parentb41d24d0b290899b2530af39c92e7c67b8aebbb1 (diff)
downloadmpv-bde111ee2150ff2ad328af4c4e73046f74039cf9.tar.bz2
mpv-bde111ee2150ff2ad328af4c4e73046f74039cf9.tar.xz
Win32 DLLs and OpenGL do not work on Cygwin. Automatically disable them and
update the documentation accordingly, plus some spellchecking cosmetics. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8643 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure25
1 files changed, 14 insertions, 11 deletions
diff --git a/configure b/configure
index d0e58cf62d..50ac88df55 100755
--- a/configure
+++ b/configure
@@ -214,7 +214,7 @@ Audio output:
--disable-esd disable esd sound support [autodetect]
--disable-alsa disable alsa sound support [autodetect]
--disable-sunaudio disable Sun sound support [autodetect]
- --disable-win32waveout disable windows waveout sound support [autodetect]
+ --disable-win32waveout disable Windows waveout sound support [autodetect]
--disable-select disable using select() on audio device [enable]
Miscellaneous options:
@@ -2548,6 +2548,7 @@ fi
echocheck "OpenGL"
+cygwin && _gl=no
#Note: this test is run even with --enable-gl since we autodetect $_ld_gl
if test "$_x11" = yes && test "$_gl" != no ; then
cat > $TMPC << EOF
@@ -3007,7 +3008,7 @@ else
echores "no"
fi
-echocheck "windows waveout"
+echocheck "Windows waveout"
if test "$_win32waveout" = auto ; then
cat > $TMPC << EOF
#include <windows.h>
@@ -3737,6 +3738,7 @@ echores "$_faad"
echocheck "Win32 DLL support"
qnx && _win32=no
+cygwin && _win32="Win32 DLLs not supported under Cygwin"
if test "$_win32" = auto ; then
_win32=no
if x86 ; then
@@ -3764,7 +3766,7 @@ else
_def_win32='#undef USE_WIN32DLL'
_nocodecmodules="win32 $_nocodecmodules"
_dshow=no
- echores "no"
+ echores "$_win32"
fi
@@ -5398,12 +5400,12 @@ Use --enable-sdl to force usage of libSDL.
EOF
fi
-if x86 ; then
+if x86 && ! cygwin; then
if test "$_win32" = no ; then
if test "$_win32libdir" ; then
cat <<EOF
-Failed to find a WIN32 codecs dir at $_win32libdir!
-Create it and copy the DLL files there! (You can get them from your windows
+Failed to find a Win32 codecs dir at $_win32libdir!
+Create it and copy the DLL files there! (You can get them from your Windows
directory or download them from:
ftp://ftp.MPlayerHQ.hu/MPlayer/releases/w32codec.tar.bz2
@@ -5415,7 +5417,7 @@ EOF
:
else
cat <<EOF
-Failed to find a WIN32 codecs directory!
+Failed to find a Win32 codecs directory!
Create it and copy the DLL files there! (You can get them from your Windows
directory or download them from:
ftp://ftp.MPlayerHQ.hu/MPlayer/releases/w32codec.tar.bz2
@@ -5425,9 +5427,10 @@ EOF
fi
else
cat <<EOF
-NOTE: WIN32 codec DLLs are not supported on your CPU ($host_arch).
+NOTE: Win32 codec DLLs are not supported on your CPU ($host_arch) or your
+operating system ($system_name). Why don't you help us port it?
You may encounter a few AVI files that cannot be played due to missing
-open source video/audio codec support.
+Open Source video/audio codec support.
EOF
fi
@@ -5435,8 +5438,8 @@ fi
cat <<EOF
-Check $TMPLOG if you wonder why an autodetection failed (check whether the
-development headers/packages are installed).
+Check $TMPLOG if you wonder why an autodetection failed (check whether
+the development headers/packages are installed).
If you suspect a bug, please read DOCS/bugreports.html.