configure: fix build error with XA
authorRob Clark <robclark@freedesktop.org>
Tue, 18 Feb 2014 13:12:37 +0000 (08:12 -0500)
committerRob Clark <robclark@freedesktop.org>
Tue, 18 Feb 2014 13:12:37 +0000 (08:12 -0500)
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>
configure.ac

index fc5e0284a15458ef03a9b86c57be08cbb485ca91..8390d27b585a64b84263064c205c6a79cadd94a0 100644 (file)
@@ -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)