From: Emil Velikov Date: Fri, 24 Jun 2016 15:35:05 +0000 (+0100) Subject: anv: install the intel_icd.json to ${datarootdir} by default X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cbc37f72e3d0d50a2200d6e6520e22dd5992adb5;p=mesa.git anv: install the intel_icd.json to ${datarootdir} by default 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 Cc: mesa-stable@lists.freedesktop.org Signed-off-by: Emil Velikov Reviewed-by: Jason Ekstrand --- diff --git a/configure.ac b/configure.ac index 3d32c53e2fe..c2525d3bebd 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