[Mesa-dev] [PATCH] anv: install the intel_icd.json to ${datarootdir} by default

Emil Velikov emil.l.velikov at gmail.com
Fri Jun 24 17:13:03 UTC 2016


From: Emil Velikov <emil.velikov at collabora.com>

As mentioned by the spec (and used by Archlinux and Debian) default to
${datarootdir} as opposed to ${sysconfdir} for the default location.

Cc: Jason Ekstrand <jason at jlekstrand.net>
Cc: mesa-stable at lists.freedesktop.org
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
I believe there was an earlier agreement about this, but for the sake of
me I cannot find the thread :-\
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index e4e090f..ab56d0d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1640,7 +1640,7 @@ AC_ARG_WITH([vulkan-icddir],
     [AS_HELP_STRING([--with-vulkan-icddir=DIR],
         [directory for the Vulkan driver icd files @<:@${sysconfdir}/vulkan/icd.d@:>@])],
     [VULKAN_ICD_INSTALL_DIR="$withval"],
-    [VULKAN_ICD_INSTALL_DIR='${sysconfdir}/vulkan/icd.d'])
+    [VULKAN_ICD_INSTALL_DIR='${datarootdir}/vulkan/icd.d'])
 AC_SUBST([VULKAN_ICD_INSTALL_DIR])
 
 if test -n "$with_vulkan_drivers"; then
-- 
2.8.2



More information about the mesa-dev mailing list