summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2013-09-28 03:20:14 +0100
committerEmil Velikov <emil.l.velikov@gmail.com>2013-10-29 21:04:38 +0000
commit0828ad4e63df512c9d21e6e75b32f03401c3e95a (patch)
tree8de9e00be3a5db5fa814dfe0f245d090c8ce66dc /configure.ac
parent2a87647c6adca73400e3f9f9e9ef7624c7837082 (diff)
configure: use PKG_CONFIG variable over hardcoded pkg-config
Already available and used in other places of configure.ac. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 91b9871d7ed..54ace41bad7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1358,8 +1358,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`
+ LIBCLC_INCLUDEDIR=`$PKG_CONFIG --variable=includedir libclc`
+ LIBCLC_LIBEXECDIR=`$PKG_CONFIG --variable=libexecdir libclc`
AC_SUBST([LIBCLC_INCLUDEDIR])
AC_SUBST([LIBCLC_LIBEXECDIR])
fi