[Mplayer-cvslog] CVS: main configure,1.522,1.523
Alban Bedel CVS
albeu at mplayerhq.hu
Sat Jul 13 14:03:11 CEST 2002
Update of /cvsroot/mplayer/main
In directory mail:/var/tmp.root/cvs-serv1932
Modified Files:
configure
Log Message:
vd_xvid need divx.h
Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.522
retrieving revision 1.523
diff -u -r1.522 -r1.523
--- configure 12 Jul 2002 03:26:46 -0000 1.522
+++ configure 13 Jul 2002 12:02:57 -0000 1.523
@@ -3550,44 +3550,38 @@
echocheck "XviD"
cat > $TMPC << EOF
#include <xvid.h>
+#include <divx4.h>
int main(void) { xvid_init(0, 0, 0, 0); return 0; }
EOF
if test "$_xvid" != no && cc_check -lm "$_xvidcore" ; then
_xvid=yes
_ld_xvid="$_xvidcore"
_def_xvid='#define HAVE_XVID 1'
+ _def_divx4_h='#define HAVE_DIVX4_H 1'
_codecmodules="xvid $_codecmodules"
elif test "$_xvid" != no && cc_check -lm -lxvidcore ; then
_xvid=yes
_ld_xvid='-lxvidcore'
_def_xvid='#define HAVE_XVID 1'
+ _def_divx4_h='#define HAVE_DIVX4_H 1'
_codecmodules="xvid $_codecmodules"
else
_xvid=no
_ld_xvid=''
_def_xvid='#undef HAVE_XVID'
+ _def_divx4_h='#undef HAVE_DIVX4_H'
_nocodecmodules="xvid $_nocodecmodules"
fi
echores "$_xvid"
_xvidcompat=no
-_def_divx4_h='#undef HAVE_DIVX4_H'
if test "$_xvid" = yes ; then
echocheck "DivX4 compatibility in XviD"
cat > $TMPC << EOF
#include <divx4.h>
int main(void) { (void) decore(0, 0, 0, 0); return 0; }
EOF
- if cc_check -lm "$_ld_xvid" ; then
- _xvidcompat='yes (using divx4.h)'
- _def_divx4_h='#define HAVE_DIVX4_H 1'
- else
- cat > $TMPC << EOF
-#include <decore.h>
-int main(void) { (void) decore(0, 0, 0, 0); return 0; }
-EOF
- cc_check -lm "$_ld_xvid" && _xvidcompat='yes (using decore.h)'
- fi
+ cc_check -lm "$_ld_xvid" && _xvidcompat=yes
echores "$_xvidcompat"
fi
More information about the MPlayer-cvslog
mailing list