configure: use HAVE_DRISW_KMS when handling kms swrast
[mesa.git] / src / gallium / Makefile.am
index 611d55fafe224ec7411e821e45eb34f76e35d220..2c7508385cad1b97da5c5e7ef564a23b4a01beef 100644 (file)
@@ -98,7 +98,7 @@ if HAVE_DRISW
 SUBDIRS += winsys/sw/dri
 endif
 
-if HAVE_DRI2
+if HAVE_DRISW_KMS
 SUBDIRS += winsys/sw/kms-dri
 endif