summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorChow Loong Jin <hyperair@gmail.com>2009-10-28 14:34:14 +0800
committerDan Nicholson <dbn.lists@gmail.com>2009-10-30 06:00:13 -0700
commit35506dec6734a1ae777dc16981cb19e514f41897 (patch)
tree2018d660485dc5ca20cd11512ccacda3b82c8cad /configure.ac
parent02b9fb9c80ae9079cd2eab945d58551f9d9cbd7c (diff)
Add --with-dri-searchpath argument
* Add an extra argument to configure which allows for specifying different DRI driver search paths to libGL (FDO #24766) Signed-off-by: Dan Nicholson <dbn.lists@gmail.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 44fb77960c..5d11cf8452 100644
--- a/configure.ac
+++ b/configure.ac
@@ -649,6 +649,13 @@ AC_ARG_WITH([dri-driverdir],
[DRI_DRIVER_INSTALL_DIR="$withval"],
[DRI_DRIVER_INSTALL_DIR='${libdir}/dri'])
AC_SUBST([DRI_DRIVER_INSTALL_DIR])
+dnl Extra search path for DRI drivers
+AC_ARG_WITH([dri-searchpath],
+ [AS_HELP_STRING([--with-dri-searchpath=DIRS...],
+ [semicolon delimited DRI driver search directories @<:@${libdir}/dri@:>@])],
+ [DRI_DRIVER_SEARCH_DIR="$withval"],
+ [DRI_DRIVER_SEARCH_DIR='${DRI_DRIVER_INSTALL_DIR}'])
+AC_SUBST([DRI_DRIVER_SEARCH_DIR])
dnl Direct rendering or just indirect rendering
AC_ARG_ENABLE([driglx-direct],
[AS_HELP_STRING([--disable-driglx-direct],