Make sure we get the CFLAGS required for building dri3proto into the
command line.

Signed-off-by: Daniel Stone <[email protected]>
---
 configure.ac | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configure.ac b/configure.ac
index 40ac1e78d..fbee76211 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1197,6 +1197,7 @@ PKG_CHECK_MODULES([DRI3PROTO], $DRI3PROTO,
 
 case "$DRI3,$HAVE_DRI3PROTO" in
        yes,yes | auto,yes)
+               REQUIRED_MODULES="$REQUIRED_MODULES dri3proto"
                ;;
        yes,no)
                AC_MSG_ERROR([DRI3 requested, but dri3proto not found.])
-- 
2.13.0

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to