Mercurial > mplayer.hg
comparison configure @ 32279:6de1c6d3c1cb
Simplify Windows waveout test with header_check_broken().
author | diego |
---|---|
date | Sun, 26 Sep 2010 18:24:14 +0000 |
parents | 0eef1045262c |
children | 92f94dc1eaee |
comparison
equal
deleted
inserted
replaced
32278:0eef1045262c | 32279:6de1c6d3c1cb |
---|---|
5314 | 5314 |
5315 if win32; then | 5315 if win32; then |
5316 | 5316 |
5317 echocheck "Windows waveout" | 5317 echocheck "Windows waveout" |
5318 if test "$_win32waveout" = auto ; then | 5318 if test "$_win32waveout" = auto ; then |
5319 cat > $TMPC << EOF | |
5320 #include <windows.h> | |
5321 #include <mmsystem.h> | |
5322 int main(void) { return 0; } | |
5323 EOF | |
5324 _win32waveout=no | 5319 _win32waveout=no |
5325 cc_check -lwinmm && _win32waveout=yes | 5320 header_check_broken windows.h mmsystem.h -lwinmm && _win32waveout=yes |
5326 fi | 5321 fi |
5327 if test "$_win32waveout" = yes ; then | 5322 if test "$_win32waveout" = yes ; then |
5328 def_win32waveout='#define CONFIG_WIN32WAVEOUT 1' | 5323 def_win32waveout='#define CONFIG_WIN32WAVEOUT 1' |
5329 libs_mplayer="$libs_mplayer -lwinmm" | 5324 libs_mplayer="$libs_mplayer -lwinmm" |
5330 aomodules="win32 $aomodules" | 5325 aomodules="win32 $aomodules" |