diff options
author | Christian König <[email protected]> | 2011-07-14 12:42:17 +0200 |
---|---|---|
committer | Christian König <[email protected]> | 2011-07-14 15:36:14 +0200 |
commit | a8ae8cf3f12e2cda4dd2eaaffab93fec2c23925a (patch) | |
tree | 56b000e3a37c36d0d5f2acd292a53e5147e2b5aa /configure.ac | |
parent | 7e2827fad95071e04e382be0117c654445764c52 (diff) |
g3dvl: check for existense of XvMC header/libs
Building the XvMC state tracker only works when the header/libs are available.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index c3047d622a3..4f473021853 100644 --- a/configure.ac +++ b/configure.ac @@ -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 |