summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 4 insertions, 2 deletions
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"