diff configure @ 28119:ab477599c7df

xvmc is now a CONFIG_ option in FFmpeg.
author diego
date Mon, 15 Dec 2008 22:25:39 +0000
parents d37dae4f8110
children 9ec853bf6e2e
line wrap: on
line diff
--- a/configure	Mon Dec 15 20:19:27 2008 +0000
+++ b/configure	Mon Dec 15 22:25:39 2008 +0000
@@ -4114,12 +4114,12 @@
   done
 fi
 if test "$_xvmc" = yes ; then
-  _def_xvmc='#define HAVE_XVMC 1'
+  _def_xvmc='#define CONFIG_XVMC 1'
   _libs_mplayer="$_libs_mplayer -lXvMC -l$_xvmclib"
   _vomodules="xvmc $_vomodules"
   _res_comment="using $_xvmclib"
 else
-  _def_xvmc='#undef HAVE_XVMC'
+  _def_xvmc='#undef CONFIG_XVMC'
   _novomodules="xvmc $_novomodules"
   _libavdecoders=`echo $_libavdecoders | sed -e s/MPEG_XVMC_DECODER// `
 fi
@@ -7975,7 +7975,6 @@
 GUI_WIN32 = $_gui_win32
 HAVE_POSIX_SELECT = $_posix_select
 HAVE_SYS_MMAN_H = $_mman
-HAVE_XVMC = $_xvmc
 IVTV = $_ivtv
 JACK = $_jack
 JOYSTICK = $_joystick
@@ -8130,6 +8129,7 @@
 CONFIG_POSTPROC = yes
 # Prevent building libavcodec/imgresample.c with conflicting symbols
 CONFIG_SWSCALE=yes
+CONFIG_XVMC=$_xvmc
 CONFIG_ZLIB=$_zlib
 
 HAVE_PTHREADS = $_pthreads