[Mesa-dev] [PATCH 6/7] configure: use PKG_CONFIG variable over hardcoded pkg-config
Brian Paul
brianp at vmware.com
Mon Sep 30 07:36:24 PDT 2013
On 09/28/2013 08:46 AM, Emil Velikov wrote:
> Already available and used in other places of configure.ac.
>
> Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
> ---
> configure.ac | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/configure.ac b/configure.ac
> index 1f0a646..1dd0087 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -1361,8 +1361,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
>
Reviewed-by: Brian Paul <brianp at vmware.com>
More information about the mesa-dev
mailing list