[Libva] [PATCH 3/9] configure: use ${libdir} over the hardcoded /usr/lib

Gwenole Beauchesne gb.devel at gmail.com
Thu Sep 18 13:17:28 PDT 2014


Hi,

2014-09-18 18:45 GMT+02:00 Emil Velikov <emil.l.velikov at gmail.com>:
> Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
> ---
>  configure.ac | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/configure.ac b/configure.ac
> index f8ce348..65fe0e9 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -127,7 +127,7 @@ dnl Check for VA-API drivers path
>  AC_MSG_CHECKING([for VA drivers path])
>  LIBVA_DRIVERS_PATH=`$PKG_CONFIG libva --variable driverdir`
>  if test -z "$LIBVA_DRIVERS_PATH"; then
> -    LIBVA_DRIVERS_PATH="/usr/lib/xorg/modules/drivers"
> +    LIBVA_DRIVERS_PATH="${libdir}/xorg/modules/drivers"
>  fi
>  AC_MSG_RESULT([$LIBVA_DRIVERS_PATH])
>  AC_SUBST(LIBVA_DRIVERS_PATH)
> --
> 2.1.0

Did you really hit an issue with that?

The only ways this could fail are (i) you are trying to build against
an ancient version of libva < 1.0.x where x is to be determined, or
(ii) the pkg-config check failed somehow. (i) cannot occur because you
cannot even build the current VA intel-driver git master branch
against libva 1.3 I'd guess. So you are left with (ii) and another fix
might be needed then. i.e. why did the pkg-config check command
failed?

Regards,
-- 
Gwenole Beauchesne
Intel Corporation SAS / 2 rue de Paris, 92196 Meudon Cedex, France
Registration Number (RCS): Nanterre B 302 456 199


More information about the Libva mailing list