mirror of
https://gitee.com/openharmony/third_party_mesa3d
synced 2025-02-17 16:39:31 +00:00
g3dvl: check for existense of XvMC header/libs
Building the XvMC state tracker only works when the header/libs are available.
This commit is contained in:
parent
7e2827fad9
commit
a8ae8cf3f1
@ -1511,7 +1511,7 @@ if test "x$enable_gallium_g3dvl" = xyes; then
|
||||
fi
|
||||
|
||||
if test "x$enable_xvmc" = xauto; then
|
||||
enable_xvmc=yes
|
||||
PKG_CHECK_EXISTS([xvmc], [enable_xvmc=yes], [enable_xvmc=no])
|
||||
fi
|
||||
|
||||
if test "x$enable_vdpau" = xauto; then
|
||||
@ -1523,8 +1523,8 @@ if test "x$enable_gallium_g3dvl" = xyes; then
|
||||
fi
|
||||
fi
|
||||
|
||||
#TODO: Check for xvmc libs/headers
|
||||
if test "x$enable_xvmc" = xyes; then
|
||||
PKG_CHECK_MODULES([XVMC], [xvmc >= 1.0.6 xorg-server])
|
||||
GALLIUM_STATE_TRACKERS_DIRS="$GALLIUM_STATE_TRACKERS_DIRS xorg/xvmc"
|
||||
HAVE_ST_XVMC="yes"
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user