summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorGwenole Beauchesne <gbeauchesne@splitted-desktop.com>2009-07-08 07:48:10 +0000
committerAustin Yuan <shengquan.yuan@intel.com>2009-07-08 17:42:05 +0800
commit4f1b4898eb71b07397095fb22122182bc4f7191d (patch)
treef67bfa1fc954d7681997617eb3b2a5394aad9d09 /configure.ac
parent31d02ddc2acb7276f4031c1db310f6aeafadd10f (diff)
downloadlibva-4f1b4898eb71b07397095fb22122182bc4f7191d.tar.gz
Install drivers into pkglibdir/va/.
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index a3a32e7..5d53059 100644
--- a/configure.ac
+++ b/configure.ac
@@ -27,6 +27,13 @@ AM_INIT_AUTOMAKE([dist-bzip2])
AM_CONFIG_HEADER([config.h])
+AC_ARG_WITH(drivers-path,
+ [AC_HELP_STRING([--with-drivers-path=[[path]]], [drivers path])],,
+ [with_drivers_path="$libdir/va/drivers"])
+
+LIBVA_DRIVERS_PATH="$with_drivers_path"
+AC_SUBST(LIBVA_DRIVERS_PATH)
+
AC_DISABLE_STATIC
AC_PROG_LIBTOOL
AC_PROG_CC