summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Clark <robclark@freedesktop.org>2014-02-18 08:12:37 -0500
committerIan Romanick <ian.d.romanick@intel.com>2014-05-30 17:11:15 -0700
commit6d23a0b2a635a57044846300c688aeabd3c604cb (patch)
treedda531e8c7e84765074540107ac4650fbce7301a
parent8f984928cc0fe301e589e7a2a2ea37aa59a214d2 (diff)
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@freedesktop.org> Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> (cherry picked from commit 20d14ef2633215c5d24741de76b5d59aa3dcbc22) Bugzilla: https://bugs.gentoo.org/show_bug.cgi?id=511700 Requested-by: Matt Turner <mattst88@gmail.com>
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index a85392bda85..164b662d0e0 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)