hardware/intel/intel-driver
Revision | 0135a0c96cca96d7c7e08ee4b0fc61b74cf675ae (tree) |
---|---|
Time | 2015-09-06 16:13:57 |
Author | Joel Holdsworth <joel.holdsworth@vcat...> |
Commiter | Xiang, Haihao |
Added LIBVA_DRIVERS_PATH configure argument
(cherry picked from commit c1f6411d3e0337226e157a51f8aab6a9c4e8b434)
@@ -131,8 +131,11 @@ fi | ||
131 | 131 | AM_CONDITIONAL(USE_X11, test "$USE_X11" = "yes") |
132 | 132 | |
133 | 133 | dnl Check for VA-API drivers path |
134 | -AC_MSG_CHECKING([for VA drivers path]) | |
135 | -LIBVA_DRIVERS_PATH=`$PKG_CONFIG libva --variable driverdir` | |
134 | +AC_ARG_VAR(LIBVA_DRIVERS_PATH, [drivers install path]) | |
135 | +if test -z "$LIBVA_DRIVERS_PATH"; then | |
136 | + AC_MSG_CHECKING([for VA drivers path]) | |
137 | + LIBVA_DRIVERS_PATH=`$PKG_CONFIG libva --variable driverdir` | |
138 | +fi | |
136 | 139 | if test -z "$LIBVA_DRIVERS_PATH"; then |
137 | 140 | LIBVA_DRIVERS_PATH="${libdir}/xorg/modules/drivers" |
138 | 141 | fi |