# HG changeset patch # User arpi # Date 997056473 0 # Node ID 024fca5abc79a140f38341cdf596ac8537c93e9b # Parent 50dc44570cd4afb5736faeccbeab2b59eef0f181 better divx4 detection, --disable-divx4 diff -r 50dc44570cd4 -r 024fca5abc79 configure --- a/configure Sun Aug 05 19:11:58 2001 +0000 +++ b/configure Mon Aug 06 00:07:53 2001 +0000 @@ -850,6 +850,17 @@ fi +cat > $TMPC << EOF +#include +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