[Mesa-dev] [PATCH 4/6] configure.ac: Use PKG_CHECK_VAR for libclc.
Matt Turner
mattst88 at gmail.com
Mon Mar 6 19:06:09 UTC 2017
---
configure.ac | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/configure.ac b/configure.ac
index 37f6b60..d44a229 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"
--
2.10.2
More information about the mesa-dev
mailing list