1 | Index: configure
|
---|
2 | ===================================================================
|
---|
3 | --- configure (revision 9744)
|
---|
4 | +++ configure (working copy)
|
---|
5 | @@ -189,6 +189,7 @@
|
---|
6 | echo " --disable-xv disable XVideo (X11 video output accel.)"
|
---|
7 | echo " --enable-xvmc enable XvMC (Linux/BSD MPEG accel.)"
|
---|
8 | echo " --enable-xvmc-pro enable XvMC for the unichrome pro (NOT unichrome) chipset"
|
---|
9 | +echo " --xvmc-lib=LIB name of XvMC library to link with"
|
---|
10 | #echo " --disable-xvmc-vld disable XvMC-VLD (VIA Epia MPEG accel.)"
|
---|
11 | echo " --enable-mac-accel enable Mac OS X MPEG acceleration"
|
---|
12 | echo " --enable-opengl-vsync enable OpenGL vsync method"
|
---|
13 | @@ -851,6 +852,8 @@
|
---|
14 | ;;
|
---|
15 | --disable-xvmc-pro) xvmc_pro="no"
|
---|
16 | ;;
|
---|
17 | + --xvmc-lib=*) xvmc_lib=`echo $opt | cut -d '=' -f 2`
|
---|
18 | + ;;
|
---|
19 | --enable-mac-accel) mac_accel="yes"
|
---|
20 | ;;
|
---|
21 | --disable-mac-accel) mac_accel="no"
|
---|
22 | @@ -2105,7 +2108,16 @@
|
---|
23 | if ! has_library libXvMCW ; then
|
---|
24 | xvmcw="no"
|
---|
25 | fi
|
---|
26 | - if test x"$xvmcw" = x"yes" ; then
|
---|
27 | + if test x"$xvmc_lib" != x""; then
|
---|
28 | + VENDOR_XVMC_LIBS="-l"$xvmc_lib
|
---|
29 | + xvmc="yes"
|
---|
30 | + xvmcw="no"
|
---|
31 | + if has_header X11/extensions/vldXvMC.h ; then
|
---|
32 | + echo > /dev/null
|
---|
33 | + else
|
---|
34 | + xvmc_vld="no"
|
---|
35 | + fi
|
---|
36 | + elif test x"$xvmcw" = x"yes" ; then
|
---|
37 | CCONFIG="$CCONFIG using_xvmcw"
|
---|
38 | VENDOR_XVMC_LIBS="-lXvMCW"
|
---|
39 | xvmc="yes"
|
---|