On Thu, Sep 5, 2013 at 4:27 PM, Tom Stellard <t...@stellard.net> wrote:
> From: Tom Stellard <thomas.stell...@amd.com>
>
> ---
>  configure.ac | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/configure.ac b/configure.ac
> index b19ab18..702a58b 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -1387,7 +1387,10 @@ if test "x$enable_opencl" = xyes; then
>      fi
>
>      if test "x$LIBCLC_INCLUDEDIR" == x || test "x$LIBCLC_LIBEXECDIR" == x; 
> then
> -        AC_MSG_ERROR([pkg-config cannot use libclc.pc which is required to 
> build clover])
> +        AC_MSG_ERROR([pkg-config cannot find libclc.pc which is required to 
> build clover.
> +                    Make sure the directory containing libclc.pc is 
> specified in your
> +                    PKG_CONFIG_PATH environment variable.
> +                    By default libclc.pc is installed to 
> /usr/local/share/pkgconfig/])
>      fi
>
>      GALLIUM_STATE_TRACKERS_DIRS="$GALLIUM_STATE_TRACKERS_DIRS clover"
> --
> 1.7.11.4

Just responding to this because it's kind of relevant:

Is it possible to use PKG_CHECK_EXISTS and PKG_CHECK_MODULES instead
of calling pkg-config directly? Users who don't have libclc (and
didn't request it) currently see something that looks like an error,
twice no less.

Package libclc was not found in the pkg-config search path.
Perhaps you should add the directory containing `libclc.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libclc' found
Package libclc was not found in the pkg-config search path.
Perhaps you should add the directory containing `libclc.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libclc' found
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to