anv: install the intel_icd.json to ${datarootdir} by default
authorEmil Velikov <emil.velikov@collabora.com>
Fri, 24 Jun 2016 15:35:05 +0000 (16:35 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Tue, 5 Jul 2016 11:17:34 +0000 (12:17 +0100)
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@jlekstrand.net>
Cc: mesa-stable@lists.freedesktop.org
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
configure.ac

index 3d32c53e2fe61fc60dc2489b7a58cb512fc7a124..c2525d3bebd90b492541348a64884d05381edce3 100644 (file)
@@ -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