From: Matt Turner Date: Wed, 8 Mar 2017 05:23:57 +0000 (-0800) Subject: Revert "configure.ac: Use PKG_CHECK_VAR for libclc." X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0b361f9d35e4c079b7314c615e0dd5f7ed196758;p=mesa.git Revert "configure.ac: Use PKG_CHECK_VAR for libclc." This reverts commit 706074cc96cec8bad6c3569fc53b0b3a05ad176f. --- diff --git a/configure.ac b/configure.ac index 87cfbaf457e..8fbadc80e64 100644 --- a/configure.ac +++ b/configure.ac @@ -2018,8 +2018,10 @@ if test "x$enable_opencl" = xyes; then PKG_CONFIG_PATH environment variable. By default libclc.pc is installed to /usr/local/share/pkgconfig/]) else - PKG_CHECK_VAR([LIBCLC_INCLUDEDIR], [libclc], [includedir]) - PKG_CHECK_VAR([LIBCLC_LIBEXECDIR], [libclc], [libexecdir]) + LIBCLC_INCLUDEDIR=`$PKG_CONFIG --variable=includedir libclc` + LIBCLC_LIBEXECDIR=`$PKG_CONFIG --variable=libexecdir libclc` + AC_SUBST([LIBCLC_INCLUDEDIR]) + AC_SUBST([LIBCLC_LIBEXECDIR]) fi gallium_st="$gallium_st clover"