From e1a8f9c2c59bb18af186a7e8b669fa2a2cf4b69e Mon Sep 17 00:00:00 2001 From: nobled Date: Tue, 7 Sep 2010 15:57:45 -0400 Subject: [PATCH] Still check for protocol header on indirect build --- configure.ac | 11 +++++++---- 1 files changed, 7 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index c85258a..b0080ad 100644 --- a/configure.ac +++ b/configure.ac @@ -625,13 +625,16 @@ dri) AC_MSG_ERROR([Can't use static libraries for DRI drivers]) fi + PKG_CHECK_MODULES([DRI2PROTO], [dri2proto >= $DRI2PROTO_REQUIRED]) + PKG_CHECK_MODULES([GLPROTO], [glproto >= $GLPROTO_REQUIRED]) + GL_PC_REQ_PRIV="dri2proto >= $DRI2PROTO_REQUIRED \ + glproto >= $GLPROTO_REQUIRED" + + DRI_PC_REQ_PRIV="" if test x"$driglx_direct" = xyes; then # Check for libdrm PKG_CHECK_MODULES([LIBDRM], [libdrm >= $LIBDRM_REQUIRED]) - PKG_CHECK_MODULES([DRI2PROTO], [dri2proto >= $DRI2PROTO_REQUIRED]) - PKG_CHECK_MODULES([GLPROTO], [glproto >= $GLPROTO_REQUIRED]) - GL_PC_REQ_PRIV="libdrm >= $LIBDRM_REQUIRED \ - dri2proto >= $DRI2PROTO_REQUIRED glproto >= $GLPROTO_REQUIRED" + GL_PC_REQ_PRIV="$GL_PC_REQ_PRIV libdrm >= $LIBDRM_REQUIRED" DRI_PC_REQ_PRIV="libdrm >= $LIBDRM_REQUIRED" fi -- 1.7.0.4