[Mplayer-cvslog] CVS: main configure,1.129,1.130

Arpi of Ize arpi at mplayer.dev.hu
Mon Aug 6 02:07:56 CEST 2001


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

Modified Files:
	configure 
Log Message:
better divx4 detection, --disable-divx4

Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.129
retrieving revision 1.130
diff -u -r1.129 -r1.130
--- configure	5 Aug 2001 12:39:34 -0000	1.129
+++ configure	6 Aug 2001 00:07:53 -0000	1.130
@@ -850,6 +850,17 @@
 
 fi
 
+cat > $TMPC << EOF
+#include <decore.h>
+int main( void ) { return 0; }
+EOF
+$_cc $_x11incdir $TMPC -o $TMPO $_x11libdir -lX11 -lXext -lGL -pthread $_socklib > /dev/null 2>&1 || \
+ { _gl=no; echo "GL includes not found!";}
+
+$_cc $_extraincdir $_extralibdir $TMPC -o $TMPO -ldivxdecore > /dev/null 2>&1 || \
+ { _divx4linux=no; echo "DivX4Linux includes (decore.h) not found!";}
+
+
 rm -f $TMPC $TMPO
 
 
@@ -1164,6 +1175,12 @@
   --disable-sunaudio)
   	_sun_audio=no
 	;;
+  --disable-divx4)
+  	_divx4linux=no
+	;;
+  --enable-divx4)
+  	_divx4linux=yes
+	;;
   --with-win32libdir=*)
         _win32libdir=`echo $ac_option | cut -d '=' -f 2`
 	_win32libdirnotify=no
@@ -1772,10 +1789,8 @@
 else
  _divx4def='#undef NEW_DECORE'
  _decorelibs='-Lopendivx -ldecore'
-# _postproc='#undef MPEG12_POSTPROC'
 fi
 
- _postproc='#define MPEG12_POSTPROC'
 
 echo
 echo "Creating $MCONF"
@@ -1904,7 +1919,7 @@
 $_css
 
 /* Define this to enable MPEG 1/2 image postprocessing (requires FAST cpu!) */
-$_postproc
+#define MPEG12_POSTPROC
 
 /* DirectShow support */
 $_dshow




More information about the MPlayer-cvslog mailing list