r300g: Build driver by default
authorJakob Bornecrantz <jakob@vmware.com>
Thu, 14 Jan 2010 22:51:25 +0000 (22:51 +0000)
committerJakob Bornecrantz <jakob@vmware.com>
Thu, 14 Jan 2010 22:51:25 +0000 (22:51 +0000)
Do the auto trick that is used for both i915, i965 and svga.

configs/default
configure.ac

index 8b4557d26a81e23e71d48e03c4ea7b6c319d7a73..ec9670dd6344715a9d9c640844bb1351d5cf1892 100644 (file)
@@ -98,7 +98,7 @@ EGL_DRIVERS_DIRS = demo
 # Gallium directories and 
 GALLIUM_DIRS = auxiliary drivers state_trackers
 GALLIUM_AUXILIARIES = $(TOP)/src/gallium/auxiliary/libgallium.a
-GALLIUM_DRIVERS_DIRS = softpipe failover svga i915 i965 trace identity
+GALLIUM_DRIVERS_DIRS = softpipe failover svga i915 i965 r300 trace identity
 GALLIUM_DRIVERS = $(foreach DIR,$(GALLIUM_DRIVERS_DIRS),$(TOP)/src/gallium/drivers/$(DIR)/lib$(DIR).a)
 GALLIUM_WINSYS_DIRS = xlib egl_xlib
 GALLIUM_WINSYS_DRM_DIRS =
index 4f28fc0d14d3cb85bf7cbfef5569e4f0a2890171..d01d0f188466094e5eb40f0d4ebbe518b886807f 100644 (file)
@@ -1279,10 +1279,12 @@ AC_ARG_ENABLE([gallium-radeon],
     [AS_HELP_STRING([--enable-gallium-radeon],
         [build gallium radeon @<:@default=disabled@:>@])],
     [enable_gallium_radeon="$enableval"],
-    [enable_gallium_radeon=no])
+    [enable_gallium_radeon=auto])
 if test "x$enable_gallium_radeon" = xyes; then
     GALLIUM_WINSYS_DRM_DIRS="$GALLIUM_WINSYS_DRM_DIRS radeon"
     GALLIUM_DRIVERS_DIRS="$GALLIUM_DRIVERS_DIRS r300"
+elif test "x$enable_gallium_radeon" = xauto; then
+    GALLIUM_DRIVERS_DIRS="$GALLIUM_DRIVERS_DIRS r300"
 fi
 
 dnl