[MPlayer-cvslog] r32364 - trunk/configure

diego subversion at mplayerhq.hu
Sun Sep 26 20:23:04 CEST 2010


Author: diego
Date: Sun Sep 26 20:23:04 2010
New Revision: 32364

Log:
Simplify Direct3D check with header_check().

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Sun Sep 26 20:22:06 2010	(r32363)
+++ trunk/configure	Sun Sep 26 20:23:04 2010	(r32364)
@@ -5336,12 +5336,8 @@ echores "$_win32waveout"
 
 echocheck "Direct3D"
 if test "$_direct3d" = auto ; then
-  cat > $TMPC << EOF
-#include <d3d9.h>
-int main(void) { return 0; }
-EOF
   _direct3d=no
-  cc_check && _direct3d=yes
+  header_check d3d9.h && _direct3d=yes
 fi
 if test "$_direct3d" = yes ; then
   def_direct3d='#define CONFIG_DIRECT3D 1'


More information about the MPlayer-cvslog mailing list