[MPlayer-cvslog] r32365 - trunk/configure

diego subversion at mplayerhq.hu
Sun Sep 26 20:24:14 CEST 2010


Author: diego
Date: Sun Sep 26 20:24:14 2010
New Revision: 32365

Log:
Simplify Windows waveout test with header_check_broken().

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Sun Sep 26 20:23:04 2010	(r32364)
+++ trunk/configure	Sun Sep 26 20:24:14 2010	(r32365)
@@ -5316,13 +5316,8 @@ if win32; then
 
 echocheck "Windows waveout"
 if test "$_win32waveout" = auto ; then
-  cat > $TMPC << EOF
-#include <windows.h>
-#include <mmsystem.h>
-int main(void) { return 0; }
-EOF
   _win32waveout=no
-  cc_check -lwinmm && _win32waveout=yes
+  header_check_broken windows.h mmsystem.h -lwinmm && _win32waveout=yes
 fi
 if test "$_win32waveout" = yes ; then
   def_win32waveout='#define CONFIG_WIN32WAVEOUT 1'


More information about the MPlayer-cvslog mailing list