Mesa (master): configure: fix build error with XA

Rob Clark robclark at kemper.freedesktop.org
Tue Feb 18 13:15:59 UTC 2014


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

Author: Rob Clark <robclark at freedesktop.org>
Date:   Tue Feb 18 08:12:37 2014 -0500

configure: fix build error with XA

Fixes:

xa_tracker.c: In function 'xa_tracker_create':
 xa_tracker.c:147:5: error: implicit declaration of function 'pipe_loader_drm_probe_fd' [-Werror=implicit-function-declaration]

in some build configurations, as XA now implicitly depends on
gallium_drm_loader.

Signed-off-by: Rob Clark <robclark at freedesktop.org>
Reviewed-by: Jakob Bornecrantz <jakob at vmware.com>

---

 configure.ac |    1 +
 1 file changed, 1 insertion(+)

diff --git a/configure.ac b/configure.ac
index fc5e028..8390d27 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1232,6 +1232,7 @@ dnl
 if test "x$enable_xa" = xyes; then
     GALLIUM_STATE_TRACKERS_DIRS="xa $GALLIUM_STATE_TRACKERS_DIRS"
     enable_gallium_loader=yes
+    enable_gallium_drm_loader=yes
 fi
 AM_CONDITIONAL(HAVE_ST_XA, test "x$enable_xa" = xyes)
 




More information about the mesa-commit mailing list