Mesa (master): build: Don't list glproto and dri2proto in pkg-config file

Matt Turner mattst88 at kemper.freedesktop.org
Wed Sep 12 18:25:44 UTC 2012


Module: Mesa
Branch: master
Commit: af6aeae4e1286a8858e040602db338de6a1367dc
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=af6aeae4e1286a8858e040602db338de6a1367dc

Author: Matt Turner <mattst88 at gmail.com>
Date:   Tue Sep 11 17:08:17 2012 -0700

build: Don't list glproto and dri2proto in pkg-config file

No files provided by glproto or dri2proto are needed for building
something with Mesa.

Bugzilla: https://bugs.gentoo.org/show_bug.cgi?id=342393
Reviewed-by: Dan Nicholson <dbn.lists at gmail.com>

---

 configure.ac |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index e00bb00..4193496 100644
--- a/configure.ac
+++ b/configure.ac
@@ -861,13 +861,12 @@ xyesyes)
 xyesno)
     # DRI-based GLX
     PKG_CHECK_MODULES([GLPROTO], [glproto >= $GLPROTO_REQUIRED])
-    GL_PC_REQ_PRIV="glproto >= $GLPROTO_REQUIRED"
     if test x"$driglx_direct" = xyes; then
         if test "x$have_libdrm" != xyes; then
             AC_MSG_ERROR([Direct rendering requires libdrm >= $LIBDRM_REQUIRED])
         fi
         PKG_CHECK_MODULES([DRI2PROTO], [dri2proto >= $DRI2PROTO_REQUIRED])
-        GL_PC_REQ_PRIV="$GL_PC_REQ_PRIV libdrm >= $LIBDRM_REQUIRED dri2proto >= $DRI2PROTO_REQUIRED"
+        GL_PC_REQ_PRIV="$GL_PC_REQ_PRIV libdrm >= $LIBDRM_REQUIRED"
     fi
 
     # find the DRI deps for libGL




More information about the mesa-commit mailing list