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

Ian Romanick idr at kemper.freedesktop.org
Sat May 31 00:33:47 UTC 2014


Module: Mesa
Branch: 10.2
Commit: 6d23a0b2a635a57044846300c688aeabd3c604cb
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6d23a0b2a635a57044846300c688aeabd3c604cb

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>
(cherry picked from commit 20d14ef2633215c5d24741de76b5d59aa3dcbc22)

Bugzilla: https://bugs.gentoo.org/show_bug.cgi?id=511700
Requested-by: Matt Turner <mattst88 at gmail.com>

---

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

diff --git a/configure.ac b/configure.ac
index a85392b..164b662 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1293,6 +1293,7 @@ if test "x$enable_xa" = xyes; then
     fi
     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