configure: use $libdir/dri as default for VA-API
authorChristian König <christian.koenig@amd.com>
Thu, 9 Oct 2014 17:51:48 +0000 (19:51 +0200)
committerChristian König <christian.koenig@amd.com>
Mon, 13 Oct 2014 10:43:59 +0000 (12:43 +0200)
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
configure.ac

index bef57535654a5b311fc4d01fcd37df834302de68..59b90e6cbfc8b7488cbd8babdf6d66e3e39c1b17 100644 (file)
@@ -1806,9 +1806,9 @@ dnl Directory for VA libs
 
 AC_ARG_WITH([va-libdir],
     [AS_HELP_STRING([--with-va-libdir=DIR],
-        [directory for the VA libraries @<:@default=`pkg-config libva --variable=driverdir`@:>@])],
+        [directory for the VA libraries @<:@${libdir}/dri@:>@])],
     [VA_LIB_INSTALL_DIR="$withval"],
-    [VA_LIB_INSTALL_DIR=`pkg-config libva --variable=driverdir`])
+    [VA_LIB_INSTALL_DIR="${libdir}/dri"])
 AC_SUBST([VA_LIB_INSTALL_DIR])
 
 dnl