[Mesa-dev] [PATCH] configure.ac: Add a more informative warning when libclc.pc is not found

Tom Stellard tom at stellard.net
Thu Sep 5 16:27:52 PDT 2013


From: Tom Stellard <thomas.stellard at 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



More information about the mesa-dev mailing list