autoconf: Build gallium softpipe when driver=xlib
authorJakob Bornecrantz <jakob@vmware.com>
Sat, 18 Apr 2009 22:13:56 +0000 (23:13 +0100)
committerJakob Bornecrantz <jakob@vmware.com>
Sun, 19 Apr 2009 15:24:41 +0000 (16:24 +0100)
configure.ac

index ce7507fd2965df330828183a56489e32f2959204..c4fe8a1a5f55d0b2d7f0c0b72ac79904d866bb54 100644 (file)
@@ -424,12 +424,13 @@ GALLIUM_STATE_TRACKERS_DIRS=""
 case "$mesa_driver" in
 xlib)
     DRIVER_DIRS="x11"
+    GALLIUM_WINSYS_DIRS="$GALLIUM_WINSYS_DIRS xlib"
     ;;
 dri)
     SRC_DIRS="glx/x11 $SRC_DIRS"
     DRIVER_DIRS="dri"
     WINDOW_SYSTEM="dri"
-    GALLIUM_WINSYS_DIRS="drm $GALLIUM_WINSYS_DIRS"
+    GALLIUM_WINSYS_DIRS="$GALLIUM_WINSYS_DIRS drm"
     ;;
 osmesa)
     DRIVER_DIRS="osmesa"
@@ -1107,6 +1108,9 @@ no)
 yes)
     # look at what else is built
     case "$mesa_driver" in
+    xlib)
+        GALLIUM_STATE_TRACKERS_DIRS=glx
+        ;;
     dri)
         GALLIUM_STATE_TRACKERS_DIRS=egl
         ;;