From: Jesse Barnes Date: Wed, 13 Jan 2010 20:48:14 +0000 (-0500) Subject: GLX: use glproto CFLAGS etc. when building X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ed59b13da8b036cb428ae5074d9217792191daeb;p=mesa.git GLX: use glproto CFLAGS etc. when building Roll the glproto check into the dri2proto and libdrm check so we get the proper CFLAGS and LDFLAGS for the package. --- diff --git a/configure.ac b/configure.ac index 23bce96ca63..4f28fc0d14d 100644 --- a/configure.ac +++ b/configure.ac @@ -576,9 +576,9 @@ dri) # Check for libdrm PKG_CHECK_MODULES([LIBDRM], [libdrm >= $LIBDRM_REQUIRED]) PKG_CHECK_MODULES([DRI2PROTO], [dri2proto >= $DRI2PROTO_REQUIRED]) - GL_PC_REQ_PRIV="libdrm >= $LIBDRM_REQUIRED dri2proto >= $DRI2PROTO_REQUIRED" - DRI_PC_REQ_PRIV="libdrm >= $LIBDRM_REQUIRED" PKG_CHECK_MODULES([GLPROTO], [glproto >= $GLPROTO_REQUIRED]) + GL_PC_REQ_PRIV="libdrm >= $LIBDRM_REQUIRED dri2proto >= $DRI2PROTO_REQUIRED glproto >= $GLPROTO_REQUIRED" + DRI_PC_REQ_PRIV="libdrm >= $LIBDRM_REQUIRED" # find the DRI deps for libGL if test "$x11_pkgconfig" = yes; then