summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2017-03-06 10:42:10 -0800
committerMatt Turner <[email protected]>2017-03-07 07:27:45 -0800
commit706074cc96cec8bad6c3569fc53b0b3a05ad176f (patch)
tree074cab6b3d2e2e8143ab377e4877a1ec3f4b50ff /configure.ac
parent8a26e944399ae4d0fd662e5106f0b34f5ced462d (diff)
configure.ac: Use PKG_CHECK_VAR for libclc.
Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 2 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index 7a89344bed7..e4901956a91 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2018,10 +2018,8 @@ if test "x$enable_opencl" = xyes; then
PKG_CONFIG_PATH environment variable.
By default libclc.pc is installed to /usr/local/share/pkgconfig/])
else
- LIBCLC_INCLUDEDIR=`$PKG_CONFIG --variable=includedir libclc`
- LIBCLC_LIBEXECDIR=`$PKG_CONFIG --variable=libexecdir libclc`
- AC_SUBST([LIBCLC_INCLUDEDIR])
- AC_SUBST([LIBCLC_LIBEXECDIR])
+ PKG_CHECK_VAR([LIBCLC_INCLUDEDIR], [libclc], [includedir])
+ PKG_CHECK_VAR([LIBCLC_LIBEXECDIR], [libclc], [libexecdir])
fi
gallium_st="$gallium_st clover"