[Mplayer-cvslog] CVS: main configure,1.399,1.400

Arpi of Ize arpi at mplayer.dev.hu
Mon Mar 11 00:55:39 CET 2002


Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv28534

Modified Files:
	configure 
Log Message:
1000l. directfb 0.9.9 detection fixed?

Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.399
retrieving revision 1.400
diff -u -r1.399 -r1.400
--- configure	10 Mar 2002 22:49:10 -0000	1.399
+++ configure	10 Mar 2002 23:55:36 -0000	1.400
@@ -1512,23 +1512,21 @@
 fi
 echores "$_directfb"
 
+if test "$_directfb" = yes; then
 echocheck "DirectFB >= 0.9.9"
-if test "$_directfb" = auto; then
-    _directfb=no
-    cat > $TMPC <<EOF
+  _directfb099=no
+  cat > $TMPC <<EOF
 #include <directfb.h>
-nt main(void) { IDirectFBEventBuffer *foo; return 0; }
+int main(void) { IDirectFBEventBuffer *foo; return 0; }
 EOF
-  linux && test -c /dev/fb0 && cc_check -ldirectfb && _directfb=yes
-fi
-if test "$_directfb" = yes ; then
-  _def_directfb='#define HAVE_DIRECTFB099 1'
+  cc_check -ldirectfb && _directfb099=yes
+if test "$_directfb099" = yes ; then
+  _def_directfb099='#define HAVE_DIRECTFB099 1'
 else
-  _def_directfb='#undef HAVE_DIRECTFB'
+  _def_directfb099='#undef HAVE_DIRECTFB099'
+fi
+echores "$_directfb099"
 fi
-echores "$_directfb"
-
-
 
 # Checking for localization ...
 echocheck "language"
@@ -3456,6 +3454,7 @@
 $_def_3dfx
 $_def_tdfxfb
 $_def_directfb
+$_def_directfb099
 $_def_zr
 $_def_mga
 $_def_xmga




More information about the MPlayer-cvslog mailing list