svga: Do the gallium intel configure trick for svga as well
authorJakob Bornecrantz <jakob@vmware.com>
Sun, 19 Jul 2009 07:22:31 +0000 (09:22 +0200)
committerJakob Bornecrantz <jakob@vmware.com>
Sun, 19 Jul 2009 07:29:14 +0000 (09:29 +0200)
Since the drivers we produce on systems where we use
configure depend on none stable kernel API the driver
deliverables should not be built by default in the
mesa 7.7 release.

People wishing to shoot them self in the foot have to
pull the trigger themself, we just hand them the gun.

configure.ac

index 25e4321510fe9835ade21d2c8b0502968b77a9f1..e15e1f60c44466b1818729ac8ffa0974acae33b0 100644 (file)
@@ -1200,13 +1200,15 @@ dnl
 dnl Gallium SVGA configuration
 dnl
 AC_ARG_ENABLE([gallium-svga],
-    [AS_HELP_STRING([--disable-gallium-svga],
-        [build gallium SVGA @<:@default=enabled@:>@])],
+    [AS_HELP_STRING([--enable-gallium-svga],
+        [build gallium SVGA @<:@default=disabled@:>@])],
     [enable_gallium_svga="$enableval"],
-    [enable_gallium_svga=yes])
+    [enable_gallium_svga=auto])
 if test "x$enable_gallium_svga" = xyes; then
     GALLIUM_WINSYS_DRM_DIRS="$GALLIUM_WINSYS_DRM_DIRS vmware"
     GALLIUM_DRIVERS_DIRS="$GALLIUM_DRIVERS_DIRS svga"
+elif test "x$enable_gallium_svga" = xauto; then
+    GALLIUM_DRIVERS_DIRS="$GALLIUM_DRIVERS_DIRS svga"
 fi
 
 dnl